Reputation: 4249
Sorry for i can't precisely specify the title.
I want to ask that i have created a server using ServerSocket class in java. and i am able to run it easily using 127.0.0.1:7896 and can fetch page from the browser. You can check out this using http://stackoverflow.com/questions/4655355/small-http-server-using-java
But when i try to run this with my external ip address it doesn't worked. So can anyone please tell me whether i am conceptually wrong or it is possible. if it is then how to?
Thanks
Upvotes: 0
Views: 153
Reputation: 4568
Are you behind a router or somekind of firewall ? Your own Operating system may be blocking the call.
there is no reason why you shouldnt be able to do it by using the external ip, as long as the DNS knows it and your machine and infrastructure allows the call
Upvotes: 1