Server socket was not being set