I've a java application that creates a socketserver in a port. I test my application in a windows machine, and runs correctly, but when I test it in a linux machine, the port is not listening.
Is there any way to open a port specifically in a linux machine?
I run 'netstat' command, and the port I use in my application doesn't appear. It doesn't throw any exception. I'm trying to connect from another machine to the application, and the connection is refused.
Sincerely, I don't know why it doesn't run...
help please.
thanks, david
What is the port number you're trying to open ?
If it's below 1024, then only the root user can open it or grant access to it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With