export current host and port