Server - After changing the Apache port to 8080, localhost cannot be used to access local files.
曾经蜡笔没有小新2017-05-16 16:57:48
0
2
1101
Port 80 can use localhost to access local php files, but it won't work after changing to 8080. Port 80 is used by IIS. So how to use localhost to access local files under port 8080?
The format of
URL is
协议://域名:端口/路径
。如果端口号不写的话默认
http
是80
,https
是443
,ftp
是21
。。。协议不写的话浏览器会替你添加
http
protocol.localhost:8080