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.

  • an account has nothing to do with it. What is the address of the socket? - etki
  • Static Address - Ker_ Jen
  • can you write the address yourself? - etki
  • 195.91.142.18:7777 - Ker_ Jen
  • netstat -an | grep 7777 netstat -an | grep 7777 produces a string with the specified ip? - etki

0