Results 1 to 5 of 5
I ran netcat server on knoppix 4.0 laptop and netcat client on a fedora core 5 laptop.
on the knoppix
nc -l 9000
on the fedora laptop
nc 192.x.x.x 9000
...
- 02-13-2007 #1Just Joined!
- Join Date
- Feb 2007
- Posts
- 4
problem with netcat in knoppix 4.0
I ran netcat server on knoppix 4.0 laptop and netcat client on a fedora core 5 laptop.
on the knoppix
nc -l 9000
on the fedora laptop
nc 192.x.x.x 9000
I didn't connect. There is no firewall on either my machines.
It worked among fedora laptops.
Even if i did like this on the knoppix laptop and it still didn't work.
on one consle
nc -l 9000
on another console
nc localhost 9000
It said: "Knoppix 127.0.0.1 9000 (?) : Connection refused"
Please show some pointers.
Thanks,
- 02-13-2007 #2
Check if the port is indeed open and listening with
Code:netstat -l
- 02-13-2007 #3Just Joined!
- Join Date
- Feb 2007
- Posts
- 4
It's certain that the port is not opened.
But I dont know how to get it opened.
I guess when we do a command like this "nc -l 9000" it will open the port automatically since I did such thing with fedora core and it works.
- 02-13-2007 #4
Ok well netstat -l will tell you if netcat is indeed listening. Then you'll want to check your iptables with
Code:iptables -L
- 02-13-2007 #5Just Joined!
- Join Date
- Feb 2007
- Posts
- 4
Well I did check iptables.
All ports are allowed.
There were no denies.
If somebody can verify on their knoppix machine that the following command works:
on one console
nc -l 9000
on another console
nc localhost 9000
mine doesn't work.
Thanks,


Reply With Quote
