separated host and port into variables