I set my TCP server to localhost, but instead of seeing in the host portion of the lsof output, I see an asterisk.

After running lsof -i...

my_process 66666 root 5u IPv4 0xffff...c0 0t0 TCP *:5001 (LISTEN)

What does this asterisk mean? Is my socket bound to localhost, does it not have an address or something else?

1 Answer 1


That means that limiting your server to localhost was not successful (maybe you have to restart is?) because it is listening on all interfaces, accepting all destination IP addresses.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .