changed serverPort (from 50000 to 5000) for both server and client