jmrapp1 / NitroNet

A networking library used to simplify the development of applications that require some form of networking. It is multiplatform, supports UDP and TCP, encryption of packets, packet corruption handling, packet streaming, SQL support, and much more.
40 stars 7 forks source link

Chat Server failed to start on Windows 8.1 #3

Open logos1 opened 8 years ago

logos1 commented 8 years ago

I attempted to get the chat server and client running (as per the examples).

Running on Windows 8.1 using JDK1.8 SE, the server failed with the message "Server has NOT started." as per the following code:

        server = new Server(1337, 1337);
        server.setListener(new ServerListener());
        if (server.isConnected()) {
            System.out.println("Server has started.");
        } else {
            System.out.println("Server has NOT started.");
        }

Any suggestions?

jmrapp1 commented 8 years ago

Odd as I have developed this application while working on Windows 8.1. Are you sure that your ports are open and not being used by another application or another instance of the application that you may not realize is running?