Home  >  Article  >  Web Front-end  >  怎么让本机的一个端口连接到本机的一个网页?_html/css_WEB-ITnose

怎么让本机的一个端口连接到本机的一个网页?_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:25:111725browse

例如,我想让 localhost:9090 连接到 D:\123.htm ,应该怎么做?


回复讨论(解决方案)

装一个 web服务 然后配置端口 和映射的目录

你可以创建一个快捷方式到桌面,这不就方便了吗。。。

你可以创建一个快捷方式到桌面,这不就方便了吗。。。 我安装了Go语言之后,6060端口就变成了网页,我只是想知道它怎么做到的

去看配置文件,我记得apache的配置文件在Linux下面的配置文件名字是:httpd.conf,在Windows下面你自己搜索一下吧。

你也可以跳转,但是网页的名字比较纠结,最好是用:index.html或者home.html之类的。 

装一个 web服务 然后配置端口 和映射的目录 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn