There intranet server tomcat, port 8080. Intranet access all machines can http://192.168.1.150:8080 .
I use Telecom's broadband , dial-up router , there is a public network ip, has been done on the router port 8080 is mapped to 192.168.1.150 intranet server.
machines within the network can then http:// public network ip: 8080 visit . Is outside the network can not access a computer .
Will also need to configure what is not ? tomcat does not need to configure anything ? Or telecommunications shield http request ?
In addition, the mapping of the 22 port, external network can ssh to my host within the network , and proven router settings should be no problem .
------ Solution ---------------------------------------- ----
use public IP can access your computer you
------ Solution ----------------------- ---------------------
you have to use the proxy mapping to a host on the network , such as Nginx
------ Solution --------------------------------------------
router to set forwarding rules
http://blog.csdn.net/withiter/article/details/7296210
------ Solution ---------------------------------------- ----
not telecommunications issues .
tomcat does not require special configuration , with the same services within the network . You only need to configure the proxy can be. If you choose to use Nginx agent station short I can , maybe you can help.
------ Solution ---------------------------------------- ----
has been set up . Set both 8080 and 22 two port mapping to 192.168.1.150. Ssh can be connected to external networks , but can not visit http
facie firewall is not sealed 8080
------ Solution --------------------------- -----------------
+1024
------ Solution ------------------ --------------------------
has been set up . Set both 8080 and 22 two port mapping to 192.168.1.150. Ssh can be connected to external networks , but can not visit http
facie firewall port 8080 is closed
off suse firewall and router already : (
shadow firewall on the server within the network does not affect access ? Because the internal network , all the computers can access , whether it is with a 192 ip or public ip
iptable it , limiting it ?
Another way is to ssh service stopped. The 22 assigned to tomcat run the project, with 22 ports try
------ Solution --------------------------- -----------------
not want you to port mapping. Forwarded to you by proxy . For example Nginx.
------ Solution ---------------------------------------- ----
this is not equivalent to the external network access into a visited network . +1
------ Solution ---------------------------------- ----------
the proxy on the outermost layer , the server is not visible to the external network .
------ For reference only -------------------------------------- -
has been set up . Set both 8080 and 22 two port mapping to 192.168.1.150. Ssh can be connected to external networks , but can not visit http
------ For reference only ---------------------------- -----------
can ping , ssh can connect
------ For reference only ------------- --------------------------
has been set up . Set both 8080 and 22 two port mapping to 192.168.1.150. Ssh can be connected to external networks , but can not visit http
facie firewall port 8080 is closed
off suse firewall and router already : (
shadow firewall on the server within the network does not affect access ? Because the internal network , all the computers can access , whether it is with a 192 ip or public network ip
------ For reference only --------------- ------------------------
has been set up . Set both 8080 and 22 two port mapping to 192.168.1.150. Ssh can be connected to external networks , but can not visit http
facie firewall port 8080 is closed
off suse firewall and router already : (
shadow firewall on the server within the network does not affect access ? Because the internal network , all the computers can access , whether it is with a 192 ip or public ip
iptable it , limiting it ?
Another way is to ssh service stopped. The 22 projects assigned to run tomcat , try using port 22
go back to try this method
------ For reference only ---------------------------- -----------
this is not equivalent to the external network access into a visited network .
------ For reference only -------------------------------------- -
done outside the intranet server network mapping , with the network access client is less than the external network address ! As long as both computers simultaneously in a switch , the not visit outside the network
------ For reference only --------------------- ------------------
router port mapping function is visible outside it.
reverse proxy there is a problem , if http requests initiated by a client is another machine within the network environment , not also Rom ~
------ For reference only ---- -----------------------------------
changed the port 18080 on the line. Strange .
没有评论:
发表评论