Fix a bug with the default port value