- 論壇徽章:
- 0
|
我用的是redhat enterprise linux5.在上邊安裝了tomcat,在本機(jī)上測(cè)試:http://127.0.0.1:8080沒有問題。用http://本機(jī)ip:8080測(cè)試也沒有問題,
但是在局域網(wǎng)中用其它電腦測(cè)試tomcat則不通(同一個(gè)網(wǎng)段內(nèi))。但是測(cè)試Apache是通的。iptables stop也不行。我是裝在VM上的,如果是VM設(shè)置的問題的話,Apache應(yīng)該也不會(huì)通。并且我的vsftpd是通的。iptables我已經(jīng)用命令設(shè)置過:#iptables -A INPUT -p tcp --dport 8080 -j ACCEPT
# iptables -A OUTPUT -p tcp --sport 8080 -j ACCEPT
還是不通。
大家看一下抓的包:tcpdump -vv -i eth0 port 8080
14:54:57.258874 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: TCP (6), length: 52) localhost.webcache > localhost.f5-iquery: S, cksum 0x9a09 (correct), 3946166685:3946166685(0) ack 316654593 win 5840 <mss 1460,nop,nop,sackOK,nop,wscale 4>
14:54:57.259146 IP (tos 0x0, ttl 128, id 52893, offset 0, flags [DF], proto: TCP (6), length: 40) localhost.f5-iquery > localhost.webcache: ., cksum 0xf393 (correct), 1:1(0) ack 1 win 65044
14:54:47.268996 IP (tos 0x0, ttl 128, id 52896, offset 0, flags [DF], proto: TCP (6), length: 110) localhost.f5-iquery > localhost.webcache: P 1:71(70) ack 1 win 65044
14:55:07.327418 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto: TCP (6), length: 52) localhost.webcache > localhost.qsnet-assist: S, cksum 0x954a (correct), 3977146026:3977146026(0) ack 3981719394 win 5840 <mss 1460,nop,nop,sackOK,nop,wscale 4>
14:55:07.328369 IP (tos 0x0, ttl 128, id 52939, offset 0, flags [DF], proto: TCP (6), length: 40) localhost.qsnet-assist > localhost.webcache: ., cksum 0xeed4 (correct), 1:1(0) ack 1 win 65044
14:55:07.329208 IP (tos 0x0, ttl 128, id 52940, offset 0, flags [DF], proto: TCP (6), length: 110) localhost.qsnet-assist > localhost.webcache: P 1:71(70) ack 1 win 65044
這些包是什么意思,我看不懂,請(qǐng)教一下大家。麻煩給幫個(gè)忙,謝謝! |
|