Netcat

when I run netcat and try to listen within the same local machine it works but when to try to listen to a port rather than the local machine it doesn’t respond.
What can be the problem?
It’s been 2 days and it’s not getting any better.