IP Aliases and WAN: Connecting Your Chat Server

  • Thread starter Thread starter Fuz
  • Start date Start date
  • Tags Tags
    web hosting
Click For Summary

Discussion Overview

The discussion revolves around connecting a Python-based chat server to the internet, specifically addressing issues related to WAN connectivity. Participants explore potential solutions for enabling remote access to the server, which currently functions only over a local area network (LAN).

Discussion Character

  • Technical explanation, Debate/contested, Experimental/applied

Main Points Raised

  • Fuz describes the setup of a chat server using simple sockets and requests guidance on how a friend can connect from outside the LAN using a specific WAN IP address.
  • DaveE questions whether the router is configured to allow incoming requests on the specified port and whether the Internet Service Provider (ISP) permits such connections, citing an example of an ISP blocking port 80.
  • Another participant suggests using virtual private network (VPN) software like Hamachi or Tunngle to simulate LAN connectivity over the internet.
  • Fuz expresses reluctance to use additional software solutions, indicating a preference for making the existing program work over WAN without resorting to other programs.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best approach to enable WAN connectivity for the chat server. Multiple views are presented regarding potential solutions and considerations.

Contextual Notes

There are unresolved questions regarding router configurations, ISP policies, and the specific requirements for port forwarding that may affect the ability to connect the chat server over WAN.

Who May Find This Useful

Individuals interested in networking, server configuration, or those developing similar chat applications may find the discussion relevant.

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.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 39 ·
2
Replies
39
Views
8K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
13K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
11K