Find network port misc fixes

Correct a few things that looked a little suspicious while reviewing code trying to find out why a Jenkins build had failed
Should be `>` I think, as we _could_ have found port 65535 was available.