C
C
Cyril2016-11-27 21:32:21
Domain Name System
Cyril, 2016-11-27 21:32:21

Why is the local server not visible from the Internet?

The bottom line is this:
There is an RPi on the local network with a server on port 30003. The server is accessible from the local network and I want it to be accessible from the Internet.
To do this, I set up port forwarding on the router and use the Dynamic DNS service because I have a gray ip.
When I go to the address from the DNS service without specifying the port, I see the admin panel of my router. And if you add the right port, then the browser cannot establish a connection.
What could be the reason?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Myvrenik, 2016-11-27
@argz

Several possible reasons:
1. Port forwarding is incorrectly configured
2. firewall blocks connections from the outside to port
3. The server itself, listening on port 30003, accepts connections exclusively from local area
The third option can be checked using the command:
sudo netstat -tulpn

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question