修改DirectAdmin默认的端口2222

126 阅读技术资料DirectAdmin
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端口在防火墙已经开启。


分享到:
提问于

Login

Welcome! Login in to your account

Remember meLost your password?

Don't have account. Register

Lost Password

Register