remote-codex 0.11.31 → 0.11.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -126,8 +126,12 @@ remote-codex stop
126
126
 
127
127
  Default npm CLI ports:
128
128
 
129
- - Web: `http://127.0.0.1:45673`
130
- - API: `http://127.0.0.1:45674`
129
+ - Web: `http://127.0.0.1:45673` locally, or `http://<host-lan-ip>:45673`
130
+ - API: `http://127.0.0.1:45674` locally, or `http://<host-lan-ip>:45674`
131
+
132
+ Both listeners bind to `0.0.0.0` by default. Local mode is unauthenticated, so
133
+ use it only on a trusted LAN/VPN. Set `SERVICE_HOST=127.0.0.1` and
134
+ `SERVICE_API_HOST=127.0.0.1` to make the service host-only.
131
135
 
132
136
  Override with `SERVICE_PORT` and `SERVICE_API_PORT`.
133
137
 
@@ -281,8 +285,12 @@ remote-codex stop
281
285
 
282
286
  npm CLI 默认端口:
283
287
 
284
- - Web: `http://127.0.0.1:45673`
285
- - API: `http://127.0.0.1:45674`
288
+ - Web:本机使用 `http://127.0.0.1:45673`,内网设备使用 `http://<宿主机内网IP>:45673`
289
+ - API:本机使用 `http://127.0.0.1:45674`,内网设备使用 `http://<宿主机内网IP>:45674`
290
+
291
+ 两个服务默认监听 `0.0.0.0`。local 模式没有登录鉴权,只应在可信 LAN/VPN
292
+ 中使用。如需限制为仅本机访问,请同时设置 `SERVICE_HOST=127.0.0.1` 和
293
+ `SERVICE_API_HOST=127.0.0.1`。
286
294
 
287
295
  可用 `SERVICE_PORT` 和 `SERVICE_API_PORT` 覆盖。
288
296