OwO-Network / DeepLX

Powerful Free DeepL API, No Token Required
https://ssa.sx/deeplx
MIT License
6.57k stars 530 forks source link

更改端口后原端口并未关闭,而是开启了两个端口,如何将default端口关闭 #98

Closed chuwendan123 closed 7 months ago

chuwendan123 commented 7 months ago

我在Linux系统中部署了deeplx,并运行了以下命令:

root@fantastic-machine-3:~# bash <(curl -Ls https://owo.nz/deeplx) DeepLX latest version: v0.9.0, Start install... Created symlink /etc/systemd/system/multi-user.target.wants/deeplx.service → /etc/systemd/system/deeplx.service. Installed successfully, listening at 0.0.0.0:1188 root@fantastic-machine-3:~# deeplx -p 1199 DeepL X has been successfully launched! Listening on 0.0.0.0:1199 然后打开1188和1199端口同时都有网页显示,请问如何将1188端口关闭。

chuwendan123 commented 7 months ago

然后在控制器输入 ctrl+c退出,1199端口网页自动关闭,是否这只是暂时的端口改变

missuo commented 7 months ago

You don't fully understand what the one-click installation script does, so you have this misunderstanding. If you are not a developer, I don't recommend changing the port because you don't know how to do it.

Here, I can give you some ideas. The one-click script will start a daemon process on your Linux, that is, it will automatically start DeepLX and use the default port 1188 no matter what you restart. Your Ctrl + C doesn't work.

chuwendan123 commented 7 months ago

了解,谢谢你的建议。