Fix getting default host and port value(s)