简体   繁体   中英

can't access from outside with nginx reverse proxy in docker

i know there are lots of similar questions about but no one help me. I have a linux server running nginx reverse proxy in docker, a duckdns domain created,opened my router port 80 and 443. I can't access from outside with my domain name or public ip, it seems like my router refuses external request. I tried with lots of configuration, follow lots of guides on web... I get crazy to solve this problem. I think problem is before nginx, so i not post my nginx conf. If can help, I will post it. Hope someone can help me. Thank you so much

There are several things that could be causing the issue with your router refusing external requests. Here are a few things to check:

Make sure that your router's firewall is configured to allow incoming connections on ports 80 and 443. Some routers have a built-in firewall that needs to be configured to allow traffic through specific ports.

Confirm that your router is properly forwarding incoming requests to the correct IP address and port on your.network. This is typically done through a feature called port forwarding.

Check your router's security settings to ensure that it is not blocking incoming requests based on the source IP address or domain name. Some routers have the option to block incoming requests from specific IP addresses or domain names.

Confirm that your Linux server is properly configured to handle incoming requests. This includes checking that your Nginx reverse proxy is running and properly configured to forward requests to the correct IP address and port.

Verify that your DNS is pointing to the right IP address, you can use online tools like https://www.whatsmydns.net/ to check this.

Check if your router have any VPN or proxy service enabled, which could be affecting the incoming request.

Check if your ISP is blocking incoming connection to your public IP address.

It's also possible that there might be a problem with your router's firmware or hardware, in that case, you may need to contact the manufacturer for further assistance.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM