开发者

Can't access locally hosted project via the internet?

I'm currently developing a Java Servlet Project in Eclipse. The project is compiled via Tomcat 5.5 and hosted in localhost:8080(alternatively 127.0.0.1:8080 AND 192.168.1.10:8080 which also happens to be my local IP). The hosted project can be accessed on another computer via my Intranet(Local Network) at 192.168.1.10:8080. It should be mentioned that my computer is behind a router, and, I've configured it to forward the 开发者_如何学JAVAport 18261 to 192.168.1.10:8080. Yet, when I access the project via a web based proxy and enter: {my IP Address}:18261 then, it gives a error message.


You need to open the port 8080 in your router, if you don't know how to open a port I suggest you to check PortForward.


[UPDATE]

I've now resolved the problem. It turned out, that for some reason, the router wasn't forwarding the port 18261 to 8080 so, the next time I entered: {My IP Address}:8080 in the web based proxy, and, it Worked!! (but I don't know why!)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜