fixed mistake with connecting to serverPort