连接到本地主机[不同的路径] [英] Connecting to Localhost [Different Path]

查看:169
本文介绍了连接到本地主机[不同的路径]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了XAMPP 1.8.2昨日,并且安装Apache和MySQL模块和它们在控制面板中运行良好,这里没有问题:

I installed Xampp 1.8.2 yesterday, and installed Apache and MySQL modules and they are running fine in the control panel, there was no issue here:

我点击管理按钮后,它应该给我去'本地主机网页',但我有不同的路径,而不是本地主机它会打开一个不同的IP: http://130.147.134.177/xampp /

After I click the admin button, It should direct me to the 'localhost page' but I have a different path instead of localhost it opens a different IP: http://130.147.134.177/xampp/

应该打开这样的:

我曾尝试点击 https://开头本地主机链接和 https://127.0.0.1 链接所示的IMG,但点击链接后出现一个空白页它说:

I have tried clicking the https://localhost link and the https://127.0.0.1 link in the img shown but after clicking the link there is a blank page which says:

和每当我打开连接到它引导我到 http://130.147.134.177/xampp/ 页面不显示结果的本地主机的页面。

and Whenever I open a page connected to the localhost it directs me to the http://130.147.134.177/xampp/ page not showing the result.

我怎样才能改变路径返回到本地主机,所以我可以很容易地打开我的文件,轻松地在我的PHP文件?我有一个名为fileupload.php文件。我输入下面的路径本地主机/ fileupload.php ,但它引导我到 http://130.147.134.177/xampp/

How can I change the path back to localhost so I can easily open my files and easily work on my php files? I have a file called fileupload.php. I enter the following path localhost/fileupload.php but it directs me to the http://130.147.134.177/xampp/ page.

我应该怎么做才能解决这个问题。我试图配置我的httpd-xampp.conf文件。但仍然无法正常工作。我的头是我的命!

What should I do to fix this. I tried configuring my httpd-xampp.conf file. But still doesn't work. My head is killing me!

我netstat的结果:

my netstat results:

有似乎是另一个错误限制我用的是XAMPP了:

There seems to be another error restricting me to use Xampp anymore:

推荐答案

尝试编辑Apache的配置文件。

Try Editing the Apache Config File.

通过在XAMPP控制面板中单击Apache的配置按钮,你会得到(Appache(httpd.config))文件。

By Clicking the Apache config button in the Xampp control panel, you will get(Appache(httpd.config)) file.

在该文件中,搜索听85,并编辑听85到听80。

In that file, search for "Listen 85" and Edit the "Listen 85" to "Listen 80".

保存文件并关闭。

,然后停止所有的动作。等待几秒钟。现在就开始操作。

And then Stop all the actions. Wait for few seconds. Start the Actions now.

它会工作...

这篇关于连接到本地主机[不同的路径]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆