set baseUrl as current host and port