Answer the question
In order to leave comments, you need to log in
How to connect java server to external network interface in Linux?
I start a simple echo server on linux centos:
ServerSocket server = new ServerSocket(portNumber);
ServerSocket server = new ServerSocket(portNumber, 10, InetAddress.getLocalHost());
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question