Fixing port availability issue.