codexmate icon indicating copy to clipboard operation
codexmate copied to clipboard

! 启动 Web UI 失败: listen EACCES: permission denied 127.0.0.1:3737

Open abel533 opened this issue 6 months ago • 1 comments

Image

abel533 avatar Jun 01 '26 01:06 abel533

图像

临时设置(仅当前会话有效)

Linux / macOS (Bash / Zsh)

CODEXMATE_PORT=8080 codexmate run

Windows PowerShell

$env:CODEXMATE_PORT=8080; codexmate run

Windows CMD

set CODEXMATE_PORT=8080 && codexmate run

永久设置(重启终端依然生效)

Linux / macOS (写入 ~/.bashrc 或 ~/.zshrc)

echo 'export CODEXMATE_PORT=8080' >> ~/.bashrc
source ~/.bashrc

Windows PowerShell (写入 $PROFILE)

echo '$env:CODEXMATE_PORT=8080' >> $PROFILE

提示

  1. 生效配置:永久配置写入后,需重启终端,或手动执行 source ~/.bashrc(Linux/macOS)或 . $PROFILE(Windows PowerShell)使环境变量在当前窗口立即生效。
  2. 端口说明:示例端口号仅供参考,实际使用时请根据网络环境自行调整。

ymkiux avatar Jun 01 '26 03:06 ymkiux