Revert "connect to localhost"

This reverts commit d7b7a637cdcb33203514a6eb279585f95dd2ab4b.