IP Aliases and WAN: Connecting Your Chat Server

  • #1
Fuz
71
0
I'm working on a personal project in python. It's a chat program and its working nicely. The problem is that it only works nicely over a LAN connection. My friend can't connect to my chat server. This server, by the way, is not web-based. It just uses simple sockets and client-server connections. Watered down, it looks like this:

Enter an IP address:
Enter a port number:

If I'm hosting, what IP address does my friend enter to connect to my server? The port is 5555.

Lets say my IPs are:
WAN: 45.122.87.30
LAN: 192.168.1.40

Thanks in advance,
Fuz
 
Technology news on Phys.org
  • #2
Just as a sanity check, does your router allow and know where to send incoming requests from the internet on that port? If so, does your ISP allow it? I know a friend of mine switched ISP's because his ISP was explicitly blocking port 80, trying to prevent him from having a webserver.

DaveE
 
  • #3
You could use a virtual private network program like Hamachi or Tunngle to use LAN features over the internet.
 
  • #4
Well we just switched to road runner about three weeks ago so I'm not that familiar with it. My program has been working on my computer connecting (chatting) with my computer, and even a connection between my family's computers have worked with my program. I was hoping I didn't have to resort to other programs in order to run mine over WAN though.
 
Back
Top