Fixed the port issue for AWS