first version
logs + host and port to callback