请教,如下图localhost不能访问但localhost:8080能访问
你只写localhost的背后意思是,这个请求的协议是http,端口默认是80,但是你的网站端口是8080,所以打不开
说明你把网站发布在8080端口上,而80端口没有发布网站