throw exception if given server port is not free