Fixed the issue with port number blocking