[Q&A] Client unable to connect to server under real-world mode #2183
-
Python version (
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
I think the issue is because your machine where the client (site-1) could not resolve the server DNS name "server1". You can manually add this item to your "/etc/hosts" on the client machine. You can use command "ping server1" to check if your client machine can reach the server from the network layer. Or you can use the CLI command to directly launch server and clients. The CLI command will automatically take care of the network setup between the server and clients. |
Beta Was this translation helpful? Give feedback.
@jingyunc thank you for your reply and interest.
You will need to modify one more place in the project.yml. The "sp_end_point: server1:8002:8003"
Let me illustrate below, please find "
***server1***
" and substitute with your correct server name.You also need to make sure each client site can find server by its name.