add host and port in factory