|
没改前
nmap n.n.n.n
PORT STATE SERVICE
22/tcp open ssh
8080/tcp open http-alt
vim /etc/tomcat6/server.xml
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
改为
<Connector port="80" protocol="HTTP/1.1"
connectionTimeout="20000"
nmap n.n.n.n
PORT STATE SERVICE
22/tcp open ssh
为什呢 google 好多都是改这里吗,是还需要其他设置么?
用的debian stable的tomcat6 |
|