Fixes issue with the remoting port