管理Server
The Web Remote Control system relies on a web server launched and managed by the Unreal Editor process. For your security, this server only runs when you explicitly activate it. To control when the server runs, you use a few simple console commands:
Command | Description |
WebControl.StartServer | Starts the web server and begins listening for incoming requests on port 30010. |
WebControl.StopServer | Stops the web server, preventing any more requests to your Unreal Editor instance from being handled. |
WebControl.EnableServerOnStartup | Starts the web server automatically whenever this Project is opened in the Unreal Engine in any supported mode: in the main Unreal Editor window, in a Play In Editor (PIE) session, or in the -game mode of the Unreal Editor. |
关于端口的问题,涉及3个server的监听端口:
Remote Control Web ServerHttp Server Port: 30010Remote Control Web Interface
WebSocket Server Port: 30020Http Port: 7000