listening port failed on kali 2.0

ERGY13
9 years ago

0

Hi everyone,

i’m just trying to connect to myself for a test, but it doesn’t work.

my firewall :
```root@ERGY13-kali:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all – anywhere anywhere

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all – anywhere anywhere```

my listen “server” :
```root@ERGY13-kali:~# nc -l 1234

```

my connection command :
root@ERGY13-kali:~# nc 127.0.0.1 1234 (UNKNOWN) [127.0.0.1] 1234 (?) : Connection refused

thanks for your help

2replies
2voices
216views
cn9 [1337boy]
9 years ago

1

https://archlinuxarm.org/forum/viewtopic.php?f=9&t=1499
https://sourceforge.net/p/netcat/bugs/23/
it is a known bug that sometimes nc is broken and cannot connect to localhost, check these links :)

ERGY13
9 years ago

0

ok, thank you

Discussion thread has been locked. You can no longer add new posts.
1 of 3

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss