M BUZZ CRAZE NEWS
// news

netcat udp address already in use

By Emma Martinez

I am trying get a response from the server by using the command echo 'my message' | nc -l -u 127.0.0.1 2947

But I get nc:Address already in use. for a response. How do find the reason for this message?

1 Answer

A process is probably already listening on UDP port 2947. You can get the PID of the process by running:

fuser -n udp 2947

Or browse the list of listening UDP ports to find your process:

netstat -plun
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy