public void startServer() {

        if (!isStarted) {
            isStarted = true;
            try {
                AddressProvider.host();
            } catch (IOException ex) {
                System.err.println("SERVER: Could not connect to swe.no. Only LAN connections possible.");
            }

            try {
                server = Network.createServer(NetworkManager.GAME_NAME, NetworkManager.GAME_VERSION, NetworkManager.PORT, NetworkManager.PORT);
                System.out.println("Starting server...");
                server.start();
                isConnected = true;

                start();
                addListeners();
            } catch (IOException ex) {
                System.err.println("SERVER: Could not create server. Check netowrk interface...");
            } catch (KernelException e) {
                try {
                    Thread.sleep(1000);
                    System.err.println("Port " + NetworkManager.PORT + " is probably bussy. I'll Increment by 1 and try again... ");
                    NetworkManager.PORT++;
                    startServer();
                } catch (InterruptedException ex) {
                    Logger.getLogger(GameServer.class.getName()).log(Level.SEVERE, null, ex);
                }
            }
        } else {
            System.err.println("SERVER ERROR: Already one instance of GameServer is running.");
            close();
        }
    }