How to Access My Docker Container from Outside the LAN?
Asked by
bonsai trainee
I'm a new Docker user and I've installed Wavelog, which works perfectly when I access it locally using hostip:8086. However, I've set up port forwarding on my router for port 8086, but I'm having trouble accessing it from outside my local network using my external IP or DDNS. It seems like my requests are being blocked when coming from outside the LAN. What could be causing this issue? Is there something I'm missing or need to configure?
Answers
Just so you know, this issue isn't specific to Docker. It might be more about your network configuration.
Reply to this answer
Have you confirmed that your DNS actually points to your router's public IP? That's an important step to get outside requests directed correctly.
Reply to this answer
Just to clarify, you can access the application using hostip:8086 on your LAN, and after forwarding port 8086 to your host IP, you're unable to reach it via externalip:8086, right?
Reply to this answer
There could be a few reasons for this issue. First, check your firewall rules on the host machine; they might be blocking the incoming connections. Additionally, double-check your port forwarding settings on the router to make sure they are correctly set up. Another possibility is that your ISP is using Carrier-Grade NAT, which can cause issues with inbound port forwarding.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions