support for different external host & port