Re: TcpListener with external/internet IP?
- From: GhostInAK <ghostinak@xxxxxxxxx>
- Date: Wed, 20 Sep 2006 21:41:59 +0000 (UTC)
Hello mscdex@xxxxxxxxx,
You have to tell your router to forward any incoming packets on port (whatever) to your internal address. Check your router manual for NAT settings.
-Boo
I have a test application that transfers files from a client to a
server. I've been locally testing this on my local LAN and it has been
working fine. However, when I try to transfer a file over the internet
(with the port opened up in the router, no firewalls), it never
connects. I'm thinking it is due to the TcpListener only binding to my
local LAN ip. I tried binding it to my internet IP manually and by
using gethostbyname(gethostname).addresslist(0) as well as using
ipaddress.any, but the client never connects to my machine. An error
occurs on the client's end saying it wasn't able to connect and timed
out, etc, etc.
Is there something I'm missing? Any help is greatly appreciated.
Thanks in advance
.
- Follow-Ups:
- Re: TcpListener with external/internet IP?
- From: mscdex
- Re: TcpListener with external/internet IP?
- References:
- TcpListener with external/internet IP?
- From: mscdex
- TcpListener with external/internet IP?
- Prev by Date: Re: Filling in web page through code...
- Next by Date: Re: sqldatareader padding varchar fields with extra white space
- Previous by thread: TcpListener with external/internet IP?
- Next by thread: Re: TcpListener with external/internet IP?
- Index(es):
Relevant Pages
|