fix default value for port

https failed because by default connect to port 80