IP Aliases and WAN: Connecting Your Chat Server

  • Thread starter Thread starter Fuz
  • Start date Start date
  • Tags Tags
    web hosting
AI Thread Summary
The discussion revolves around a Python-based chat program that functions well over a local area network (LAN) but faces connectivity issues when trying to connect over the internet (WAN). The user seeks guidance on how their friend can connect to the chat server using the provided WAN IP address (45.122.87.30) and port number (5555). Key points include the necessity of configuring the router to allow incoming requests on the specified port and ensuring that the Internet Service Provider (ISP) does not block that port. Suggestions include using virtual private network (VPN) solutions like Hamachi or Tunngle to simulate LAN connectivity over the internet, although the user prefers to resolve the issue without resorting to additional software.
Fuz
Messages
71
Reaction score
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
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
 
You could use a virtual private network program like Hamachi or Tunngle to use LAN features over the internet.
 
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.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...
Back
Top