I’m having trouble with my NPM server. It works fine on my local network. I can open the admin portal and default page on port 80 from any device at home. But when I try to access it from outside my network, it doesn’t work.
I set up port forwarding for 80, 81, and 443. I tried to get SSL certs, but that failed. When I use my phone’s data to connect, the page just loads forever and times out.
Weirdly, I have Jellyfin on the same server, and its port forwarding works okay. I even turned off my firewall to test, but still no luck.
I’ve checked my port forwarding setup many times. I’m out of ideas. Why can I access everything locally but not from the internet? What could I be missing? Any help would be great!
Have you checked if your ISP is blocking incoming connections on port 80? Some residential ISPs do this to prevent hosting servers. Try changing NPM to use a non-standard port like 8080 or 8888, then forward that port on your router instead. You might also want to look into using a reverse proxy service like Cloudflare or Nginx Proxy Manager. These can help bypass potential ISP restrictions and provide additional security. If all else fails, a VPN or tunnel service like Zerotier could let you access your home network remotely without opening ports directly.
maybe check ur server config? Sometimes NPM binds to localhost by default, which blocks external access. Try changing the binding to 0.0.0.0 in ur server settings. also, double-check ur router’s port forwarding - sometimes it’s finicky. Good luck!
Hey there, I’ve had similar issues before. One thing that often gets overlooked is DNS rebinding protection on your router. Some routers block external access to internal IP addresses, even when port forwarding is set up correctly. It’s a security feature, but it can be a pain.
Try accessing your server using your public IP instead of your domain name. If that works, it’s likely a DNS issue. You might need to add your domain to your router’s DNS rebinding exception list, or use a service like Cloudflare as a workaround.
Also, have you tried running a port check tool from outside your network? Sometimes it can reveal issues that aren’t obvious. Lastly, double-check your NPM config to ensure it’s not set to only listen on localhost. Good luck troubleshooting!