connect module
run server if server_port specified