I have two systems connected to the same router. One is a WinXP machine and the other is CentOS 4. Both machines can ping each other (after I enabled icmp responses in the windows firewall). I can also transfer files from the WinXP machine to the CentOS machine using an sftp client.
On the CentOS machine I can "telnet localhost 8080" to connect to the webapp server (Jetty). But, I can't telnet to port 8080 from the WinXP machien to the CentOS machien.
In short, I have a jetty webapp server running on port 8080 on the CentOS machine and I want to be able to connect to it from the WinXP machine. If I run tcpdump on the CentOS machine and do "telnet 192.168.42.101 8080" from the winxp machine then it outputs the following on the CentOS machine and eventually times out with "Connecting To 192.168.42.101...Could not open connection to the host, on port 8080: Connect failed" on the winxp machine.
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes
18:53:06.171867 arp who-has 192.168.42.101 tell 192.168.42.2
18:53:06.197747 arp reply 192.168.42.101 is-at 00:50:04:88:80:1f
18:53:06.172017 IP 192.168.42.2.3834 > 192.168.42.101.webcache: S 469796310:469796310(0) win 65535 <mss 1460,nop,nop,sackOK>
18:53:06.172036 IP 192.168.42.101 > 192.168.42.2: icmp 56: host 192.168.42.101 unreachable - admin prohibited
18:53:06.172300 IP 192.168.42.101.32770 > dnsr1.sbcglobal.net.domain
: 26054+ PTR? 101.42.168.192.in-addr.arp
a. (45)
18:53:06.184798 IP dnsr1.sbcglobal.net.domain
> 192.168.42.101.32770: 26054 NXDomain* 0/1/0 (101)
18:53:06.184884 IP 192.168.42.101.32770 > dnsr1.sbcglobal.net.domain
: 47558+ PTR? 2.42.168.192.in-addr.arpa.
(43)
18:53:06.197706 IP dnsr1.sbcglobal.net.domain
> 192.168.42.101.32770: 47558 NXDomain* 0/1/0 (99)
18:53:06.197873 IP 192.168.42.101.32770 > dnsr1.sbcglobal.net.domain
: 18102+ PTR? 1.156.94.68.in-addr.arpa. (42)
18:53:06.210314 IP dnsr1.sbcglobal.net.domain
> 192.168.42.101.32770: 18102* 1/1/1 PTR[|domain]
18:53:09.130915 IP 192.168.42.2.3834 > 192.168.42.101.webcache: S 469796310:469796310(0) win 65535 <mss 1460,nop,nop,sackOK>
18:53:09.130936 IP 192.168.42.101 > 192.168.42.2: icmp 56: host 192.168.42.101 unreachable - admin prohibited
18:53:11.171165 arp who-has 192.168.42.2 tell 192.168.42.101
18:53:11.171427 arp reply 192.168.42.2 is-at 00:1a:92:d5:37:9f
18:53:11.172182 arp who-has 192.168.42.1 tell 192.168.42.101
18:53:11.172287 IP 192.168.42.101.32770 > dnsr1.sbcglobal.net.domain
: 42910+ PTR? 1.42.168.192.in-addr.arpa.
(43)
18:53:11.172405 arp reply 192.168.42.1 is-at 00:0e:db:00:0b:71
18:53:11.185458 IP dnsr1.sbcglobal.net.domain
> 192.168.42.101.32770: 42910 NXDomain* 0/1/0 (99)
18:53:15.150367 IP 192.168.42.2.3834 > 192.168.42.101.webcache: S 469796310:469796310(0) win 65535 <mss 1460,nop,nop,sackOK>
18:53:15.150386 IP 192.168.42.101 > 192.168.42.2: icmp 56: host 192.168.42.101 unreachable - admin prohibited