开发者

java networking related problem

开发者 https://www.devze.com 2023-02-05 04:05 出处:网络
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.开发者_如何学Python0.0.1:7896 an

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.开发者_如何学Python0.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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消