如图,我正在尝试自己安装alist,需要暴露5244端口,如何映射到alisttest.lazycatwww.heiyu.space这个域名
这样配置是打不开网页的
而且启动alist时会提示5244端口已被占用
box-vvuwK4Np /home # systemctl status alist
○ alist.service - Alist service
Loaded: loaded (/etc/systemd/system/alist.service; enabled; preset: enabled)
Active: inactive (dead) since Wed 2024-12-11 23:48:38 CST; 10min ago
Duration: 740ms
Process: 4017973 ExecStart=/opt/alist/alist (code=exited, status=0/SUCCESS)
Main PID: 4017973 (code=exited, status=0/SUCCESS)
CPU: 103ms
Dec 11 23:48:37 box-vvuwK4Np alist[4017973]: INFO[2024-12-11 23:48:37] init model...
Dec 11 23:48:37 box-vvuwK4Np alist[4017973]: INFO[2024-12-11 23:48:37] auto migrate model...
Dec 11 23:48:37 box-vvuwK4Np alist[4017973]: INFO[2024-12-11 23:48:37] init settings...
Dec 11 23:48:37 box-vvuwK4Np alist[4017973]: INFO[2024-12-11 23:48:37] Your password: mypasswd
Dec 11 23:48:38 box-vvuwK4Np alist[4017973]: INFO[2024-12-11 23:48:38] init auth...
Dec 11 23:48:38 box-vvuwK4Np alist[4017973]: INFO[2024-12-11 23:48:38] init accounts...
Dec 11 23:48:38 box-vvuwK4Np alist[4017973]: INFO[2024-12-11 23:48:38] init cache...
Dec 11 23:48:38 box-vvuwK4Np alist[4017973]: INFO[2024-12-11 23:48:38] start server @ 0.0.0.0:5244
Dec 11 23:48:38 box-vvuwK4Np alist[4017973]: ERRO[2024-12-11 23:48:38] failed to start: listen tcp 0.0.0.0:5244: bind: address already in use
Dec 11 23:48:38 box-vvuwK4Np systemd[1]: alist.service: Deactivated successfully.