fixed listener not detecting remotes when port changes