Answer the question
In order to leave comments, you need to log in
How to connect to "internal" port using external ip?
Friends,
There is a server, it has a permanent pppt connection. It turns out that it has 2 IP addresses: internal 192.168.0.200 (issued by the router) and "external" 10.0.0.160 (issued by the VPN server).
There is a third-party application on the server, which is available on port 48900 if you connect via the internal IP, but is not available if you connect via the "external".
At the same time, if I run a regular apache or tomcat, they are perfectly accessible on both IPs.
Here are the details:
$ netstat -lnt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 192.168.0.200:48900 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN
Answer the question
In order to leave comments, you need to log in
What should I do so that I can connect to port 48900 using 10.0.0.160:48900
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question