I have a virtual machine. On it, I launched the server, which set the port. And on the same virtual machine, the client started where it indicated the ip of this virtual machine, as well as the server port. When connecting, an error is displayed. I think this is due to the fact that the virtual machine has an account with a password. As a result, I want to test server-client operation via the Internet, and not just over a local network. Help good people. With LAN - 127.0.0.1 everything runs smoothly.
netstat -an | grep 7777netstat -an | grep 7777produces a string with the specified ip? - etki