fixes port number
removes call to 'server'