阿里云服务器端口切换的配置操作
1、修改防火墙,开发端口8001
- 修改配置文件,httpd.conf
路径 /usr/local/apache/conf
Listen 8001
ServerName 100.260.XX.1XX:8001
- 修改配置文件,0.conf
路径 /usr/local/apache/conf/vhost
<VirtualHost *:8001>
阿里云服务器端口切换的配置操作
1、修改防火墙,开发端口8001
路径 /usr/local/apache/conf
Listen 8001
ServerName 100.260.XX.1XX:8001
路径 /usr/local/apache/conf/vhost
<VirtualHost *:8001>