Application does not connect over internet.
I'm making a client TicTacToe application and a server TicTacToe application.
The server application is to run on my computer the it's IP according to whatismyip.com is 18.104.22.168.
On the client application, I made a socket which connects to that IP with port 8558.
I sent the client application to my brother (who lives in a different city) and asked him to connect with my server but it failed to connect.
Am i using the wrong I.P ? When I used local addresses to test locally on my computer - the client connected to the server successfully.
Thanks for your help.