fixed broken port number in client (was duplicated w/o global variable)