1
n0b0dy 2012-09-19 08:41:00 +08:00
nginx
|
2
Js 2012-09-19 08:57:57 +08:00
8080 bind一个内网ip(比如192.168.N.N)
|
3
chemhack OP |
4
ihacku 2012-09-19 13:45:04 +08:00
你是想不让人访问tomcat那个界面么
编辑conf/server.xml文件 <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="80" minProcessors="5" maxProcessors="75" enableLookups="true" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" useURIValidationHack="false" disableUploadTimeout="true" /> port="80"这里80端口改为自定义的端口 |
6
ShadowStar 2012-09-20 00:22:15 +08:00
iptables -t mangle -A PREROUTING -p tcp --dport 8080 -j DROP
|