So here's the Problem:
My Server (a programm that listens for TCP-Connections;
net.AcceptTCP()) doesn't accept Connections from my Client
(net.DialTCP()) if both programs aren't in the same network (If they
are it works really fine); the connection fails due to a tiemeout.
The firewalls of both computers allow the connection, and I tested
both low ports (like http-port 80) and unused ones (like 2011).
I can't really believe that both pcs have to "unlock" the ports in
their router, especially if I use standard-Ports like the one for
http.
Where could the mistake hide?
and I try to connect by
D:\>nc -vv my.friend's.ip 2011
netcat can't establish a connection and returns a timeout:
muedsl-my-friend's-ip.citykom.de [my.friend's.ip] 2011 (?): TIMEDOUT
sent 0, rcvd 0: NOTSOCK
Both him and me allowed netcat everything it asked for; what's going
on?
icq, irc and other protocols work properly once they're authorized, so
where exactly is the difference?
Thanks so far,
chris.
You have in mind that to server whatever service, included http (port
80), you have to open it because they will be closed by default. Some
routers of ADSL/cable come with some ports open.
He can use nmap; there are versions for windows too, and he has to run
it to level of localhost
Thank you very much, now I get this whole port-stuff :)
chris