added configuration for host and port