geekyouth opened a new issue, #14688:
URL: https://github.com/apache/doris/issues/14688

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   ```
   # mysql -uroot -P9030 -h127.0.0.1
   
   mysql> show frontends\G;
   *************************** 1. row ***************************
                Name: 127.0.0.1_9010_1669775706302
                  IP: 127.0.0.1
         EditLogPort: 9010
            HttpPort: 8030
           QueryPort: 9030
             RpcPort: 9020
                Role: FOLLOWER
            IsMaster: true
           ClusterId: 597532540
                Join: true
               Alive: true
   ReplayedJournalId: 17
       LastHeartbeat: 2022-11-30 10:35:52
            IsHelper: true
              ErrMsg:
             Version: 1.1.4-rc01-8890a58dc
    CurrentConnected: Yes
   1 row in set (0.05 sec)
   
   ERROR:
   No query specified
   
   ```
   
   
   
   ### What's Wrong?
   
   IP: 127.0.0.1
   
   
   
   ### What You Expected?
   
   IP should be 192.168.8.13
   
   ### How to Reproduce?
   
   vim conf/fe.conf
   
   priority_networks = 192.168.8.13
   
   
   ### Anything Else?
   
   if i set fe/be priority_networks = 192.168.8.0/16
   
   then fe ip will be 192.168.8.13 , but be ip will be 192.168.8.113, 
   ALTER SYSTEM ADD BACKEND "192.168.8.13:9050";
   then fe  log will report "ErrMsg: java.net.ConnectException: 拒绝连接 
(Connection refused)"
   ---
   
   if i set fe/be priority_networks = 192.168.8.13
   
   then fe ip will be 127.0.0.1, not 192.168.8.13
   
![image](https://user-images.githubusercontent.com/12899262/204695267-bb44e11c-7a36-44b2-9307-f783200feafe.png)
   
   because my server host has many network interface
   
   now fe can not bind a correct ip
   
   but when i install starrocks , above problem will not exists
   
   
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to