|
|
发表于 2005-4-21 19:18:19
|
显示全部楼层
vi /etc/httpd/conf/httpd.conf
打/80~找到这一段
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, in addition to the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
Listen 80
把80改成你需要的端口 |
|