修改DirectAdmin默认的端口2222

2.86K 浏览技术资料
0

修改DirectAdmin默认的端口2222方法如下:

Run this to achieve the desired:

Code:

<code>cd /usr/local/directadmin/conf/
vi ./directadmin.conf</code>

in the file find the line with

Code:

<code>port=2222</code>

change it to something you want, for example

Code:

<code>port=9999</code>

save, exit and restart directadmin

Code:

<code>killall -9 directadmin
/etc/init.d/directadmin start</code>

Make sure to open port 9999 with firewall and try to access Directamin in a browser.

最一点,确保你的9999端口在防火墙已经开启。


分享到:
Qi 问的问题 2020年9月30日
添加评论
写下您的答案。

Login

Welcome! Login in to your account

Remember me Lost your password?

Don't have account. Register

Lost Password

Register