I created a Server and Client programs using python. The both programs are working fine and were both connected to the same network.. It Tried to test it with different network, but it won't work anymore, since my ip address that I put is my private ip address.... so I change it to public ip address.. but, It still won't work.
I'm using socket module in python
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.bind(('49.145.**.**', 8888))
Can anyone please help me how to figure it out.