revert default host to localhost for examples and tutorials