0

I have a Tomcat 8 server running on Windows 10.

I would like to make access to my server public, I have added a port forwarding in my router to port 5555 (the same port as the servers).

Using both the localhost:5555 and my internal IP (ex: 192.168.1.2:5555) I can access the server, but when using my public IP address (ex x.x.x.x:5555) it fails.

I have used port checking sites and 5555 is open, I even checked with Wireshark, and found out that there are some packets using the 5555 port are coming in, but for some reason they are blocked.

Below is a screenshot of the Wireshark capture and here is the pcap file.

enter image description here

I even disabled the firewall, added exceptions for 5555 port and added exception for the tomcat executable, but nothing.

Whats happening here?

3
  • You haven't masked your IP in the images and linked file, however yourip:5555 loads OK for me. I would guess that this is a routing issue explicitly within your LAN.
    – codaamok
    Sep 12, 2016 at 9:38
  • @adampski yea thank, its not static anyways, already changed, and yep it works outside my network. Sep 12, 2016 at 10:37
  • 1
    This will only work if your router supports NAT Reflection/NAT Loopback/NAT Hairpinning. Most consumer grade routers don't.
    – DavidPostill
    Sep 12, 2016 at 10:41

1 Answer 1

0

I presume that this is the client-side trace, not the server-side?

It also appears that you are trying to access your external IP from inside your network. Do you have any evidence to suggest that this is an allowed configuration, it appears that your router is rejecting the connection attampt. The only way this could work is that the router would NAT the source and the destination IP addresses and I doubt that a home router would do that. Port forwarding is included in a router to allow access from the outside. You need to test from your friend's house or by using your mobile as a hotspot or by using a VPN proxy service.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .