Java Server Client Program I/O Exception

Posted by AjayP on Stack Overflow See other posts from Stack Overflow or by AjayP
Published on 2010-04-11T22:56:46Z Indexed on 2010/04/11 23:03 UTC
Read the original article Hit count: 452

Filed under:
|
|
|

I made this program: http://java.sun.com/docs/books/tutorial/networking/sockets/clientServer.html

And it works perfectly if I put the server's hostname as 127.0.0.1 or my computers name (Ajay-PC).

However these 2 methods are LAN or local only not internet. So I changed it to my internet ip. 70.128.xxx.xxx etc. But it didn't work. I checked:

canyouseeme.org

and it said 4444 was CLOSED.

So I did a quick port forward.

Portforward: Name: My Java Program Start Port: 4444 End Port: 4444 Server IP: 10.0.0.12 <-- (Yeah this is my Local IP I checked)

then I tried canyouseeme.org AGAIN:

and it said 4444 was OPEN

I ran my server client program and it yet to work.

So my problem is the client server program is not working on the internet just locally. So something is blocking it and I don't know what.

Computer: Windows Vista x64 Norton AntiVirus 2010

Thanks! I'll give best answer or whatever to who ever answers the best ;) :)

© Stack Overflow or respective owner

Related posts about java

Related posts about networking