第1个回答 2019-12-02
如果你要改访问的端口,你必须修改apache服务器的访问端口。可以在httpd.conf修改监听端口。具体的修改方法如下:
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of 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.
#
#Listen 12.34.56.78:80
Listen 80 #修改服务器端口