Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

IP aliases and WAN

Tags:
  1. May 29, 2010 #1

    Fuz

    User Avatar

    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 cant 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
     
  2. jcsd
  3. May 29, 2010 #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
     
  4. May 29, 2010 #3

    rcgldr

    User Avatar
    Homework Helper

    You could use a virtual private network program like Hamachi or Tunngle to use LAN features over the internet.
     
  5. May 29, 2010 #4

    Fuz

    User Avatar

    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.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook