First of all I want to introduce myself, my nickname is fissban and I have worked a long time in java and sometimes in Lineage opensource serverpacks (https://sourceforge.net/projects/l2jadmins/).
A few days ago I started working on a java server for MuOnline and although MuOnline requires a lot of client editing but I am interested in achieving the versatility of the server in java.I already have an armed base but I can't get any clients to connect to my socket.
PHP Code:
try (ServerSocket serverSocket = new ServerSocket(44405))
{
System.out.println("open socket in port " + 44405);
while (true)
{
Socket socket = serverSocket.accept();
new LoginThread(socket);
System.out.println("---------- New client connected in " + port + " ----------");
}
}catch (Exception e)
{
LOGGER.severe("fatal error in Socket client");
e.printStackTrace();
}
The Main that I am using has as ip address 127.0.0.1 and I have tried several mains, several clients of different versions but none seems to generate a connection to my port.Where am I wrong