EADDRNOTAVAIL on my private IP

February 27, 2017 1.7k views
Node.js Ubuntu 16.04

I’m getting an Error: listen EADDRNOTAVAIL 10.138.192.XXX:8080 when setting a listener directly to my private IP. However, when I set the listener to my localhost it works just fine. What am I doing wrong? I have enabled a private IP.

1 Answer

What’s the output of lsof -i :8080?

Have another answer? Share your knowledge.