|
|
2011-04-18
, 16:21
|
|
Posts: 1,425 |
Thanked: 983 times |
Joined on May 2010
@ Hong Kong
|
#2
|
dpkg -S `which nc`
|
|
2011-04-18
, 16:30
|
|
Posts: 24 |
Thanked: 26 times |
Joined on Feb 2011
|
#3
|
python -m SimplHTTPServer 80
|
|
2011-04-18
, 16:37
|
|
Posts: 24 |
Thanked: 26 times |
Joined on Feb 2011
|
#4
|
iptables --flush reboot
iptables -F;
iptables -I INPUT -p tcp --dport 80 -j ACCEPT;
nc -l -vv -p 80;
However, when I try to connect to port 80 on my n900 from another machine (yes netcat is listening on all interfaces), I am unable to connect.
When I do a nmap scan on my n900 on port 80, it shows that the port is closed, even though I have netcat still listening on that port and iptables has been setup to accept connections on that port.
Oddly enough, on higher ports such as tcp port 8000, I am able to accept connections.
Is there another firewall on the n900 that is getting in the way? Any tips or pointers that you can give, I would greatly appreciate.