Crappy ISP

hmmmm whay can they do? I have a fixed IP... maybe they have a firewall somewhere down the line?

Do not let me serve anything?
I have noticed i can not upload and download files via Yahho MEssenger but i can run YM fine and i can also play Starcraft that uses UPD and TCP/IP strange ports IMHO ...

Make my Server and client work on port 80 Bazik? this will not interfere with my normal web view ?
Posted on 2003-05-06 15:05:21 by BogdanOntanu
>>> hmmmm whay can they do? I have a fixed IP... maybe they have a firewall somewhere down the line?

Maybe, yes.

>>> Make my Server and client work on port 80 Bazik? this will not interfere with my normal web view ?

Sure it would. You can view this board so port 80 is open and you can use it to test HE server/client :) If it works, you should ask your ISP for a list of blocked ports and use a open high-port for HE.
Posted on 2003-05-06 15:11:26 by bazik
Originally posted by bazik
Sure it would. You can view this board so port 80 is open and you can use it to test HE server/client :)

Connecting to a server on port 80 is a totally different thing than someone else connecting to you running a server at port 80. My ISP has blocked all ports < 1024 for a long time (I think they were re-opening them soon now) but that doesn't mean I can't access websites. A connection with a website consists of two sockets, a server socket (servername:80) and a client socket (yourpc:random_free_port_number_above_1024). Running a webserver would use port 80 on your side, some ISPs block this. Try ports > 1024 they are usually open. Make sure you bind to INADDR_ANY (or 0.0.0.0 but better use the constant) and that no firewalls are running. If you're running behind NAT add a portmap to your PC (I did the same because I'm behind a hardware router).

Thomas
Posted on 2003-05-06 15:22:55 by Thomas
Hi,

Ok, i have made a new versions on port 6112 ;
as i guess this has to be open because i use it to play starcraft ...
hopefully

The IP entry box at server startup is now dummy because i force bind to 0.0.0.0

I guess i should rather add a PORT entry box for both server and client.

Maybe somebody can help me test this, or test it over internet and let me know if it works for you
Posted on 2003-05-06 16:53:53 by BogdanOntanu
Maybe somebody can port scan my IP and let me know what range of ports is actually open / not filtered for me to run HE server on it ?
Posted on 2003-05-06 16:55:25 by BogdanOntanu
are you running the server on your pc bogdan?

if you are the client isnt connecting to you.
Posted on 2003-05-06 17:02:51 by Lennon
theres an easy way to find out for sure if its your setup,

just run my chat server on your pc and i will try and connect to your ip (193.230.153.195 ?) with my client.
Posted on 2003-05-06 17:15:08 by Lennon
Well i am running it now starting from 1:36 am here

I have succesfully conected to Hiro's server now... so if conenction to my server is not working it must be an ISP firewall stuff :(
Posted on 2003-05-06 17:37:52 by BogdanOntanu
Just tried to connect again with no luck.
i also scanned port 6112 on your IP and it wasnt open.

Lennon.
Posted on 2003-05-06 17:42:06 by Lennon
ok i will start your chat server also
Posted on 2003-05-06 18:02:27 by BogdanOntanu
Your server say Listening ....
so you use port 4545 ?
but netstat -an shows IP 127.0.0.1 i do not think this will work over internet :(
Posted on 2003-05-06 18:03:11 by BogdanOntanu
yep 4545, trying to connect but nothing is happening, port scanner says port 4545 not open on your IP :rolleyes:
Posted on 2003-05-06 18:05:32 by Lennon
hmmm says port 1002 is open, maybe you know what this is?
Posted on 2003-05-06 18:06:59 by Lennon
netstat says 127.0.0.1 ?? my server binds to 0.0.0.0

it really looks like certain ports are being blocked your end.
Posted on 2003-05-06 18:10:36 by Lennon
1002 ? nah i do not think so

i think your server should bind to 0.0.0.0 instead of 127.0.0.1

as Thomas pointed it out

i have connected to your server with a local client but i do not think you can connect to 127.0.0.1

i guess nobody really can do that besides me

can i change that IP used for bind ...
aha ... in the sources ..
but you must change your client also to input my IP ... somehow
Posted on 2003-05-06 18:12:06 by BogdanOntanu
just port scanned 193.230.153.195 again and port 1002 is open

yep i do bind listening socket to 0.0.0.0, ive had a few tests over the internet and it seems to work ok.
Posted on 2003-05-06 18:14:24 by Lennon

yep i do bind listening socket to 0.0.0.0, ive had a few tests over the internet and it seems to work ok.


But then i guess not in the server i have :(
Posted on 2003-05-06 18:15:50 by BogdanOntanu
i know what is happening, my listening port binds to 0.0.0.0 ....but when you connect the client (connects to 127.0.0.1) it shows up as 127.0.0.1.

i could send you a version of my client that will attempt to connect to your IP instead.
Posted on 2003-05-06 18:18:13 by Lennon
well i does not matter IF you bind to 0.0.0.0 the all is ok anyway
must be my ISP blocking servers on my machine
Posted on 2003-05-06 18:23:55 by BogdanOntanu
yes your right,

well, at least it looks like your server is working ok..cant you find out if/what ports your ISP are blocking?
Posted on 2003-05-06 18:28:10 by Lennon