English 中文(简体)
xampp 和网络
原标题:xampp and network

I have build a site working on my localhost using xampp on windows7. Now, I my colleagues want to access and use that site in our small office.

我试图使用自己系统的IP地址访问网站 但有些乌轮正在转向当地主机 办公室里没有其它电脑的当地主机

问题是网站是用 CodeIgniter 框架构建的,因此它包含一个常数 site_url , 它的价值是 http://localhost/site

我知道我需要一个服务器(或域控制器), 我必须把我的网站放在服务器上, 以便所有其他电脑都能访问它。

没有办公室服务器使用的计算机,我无法理解如何满足需要。

最佳回答

您可以简单地使用 IP 地址或主机名。 要让主机名运行 :

hostname

命令提示。 IP 地址通常类似 192.168.1.1121

剩下的唯一东西是,在“xxamp”上,你需要确保除当地主机以外的其他人可以进入。虽然我敢肯定你使用WAMP,如果你在7号窗上的主机...

因此,网站_url将是 http://192168.1121/site http://my_hostname/site

问题回答

尝试从本地主机/ iste 更改为192.168.XXX.xxx/ site (您对本地 Ip)

如果 u 有 路由器将其配置到 80 前端端口, 大多数路由器都可以设置虚拟服务器





相关问题
C# Networking API s [closed]

Lately I ve been looking for a good networking API i could possibly use and/or reference some of the code within, but i have mere luck searching for some on Google/Bing. Hopefully somebody here has ...

Listen to a port that is in use [duplicate]

Possible Duplicate: Get connecting IP from specified ports that using by other program. If a port is used by a program, is there any way I can listen that port and get the connected IP on that ...

Twisted Spread suitable for multiplayer racing sim?

Do you think that Twisted Spread may be suitable (in terms of performance) for a multiplayer racing simulator? The rest of the application is based on Python-Ogre. Can Perspective Broker run upon (...

Optimizing a LAN server for a game

I m the network programmer on a school game project. We want to have up to 16 players at once on a LAN. I am using the Server-Client model and am creating a new thread per client that joins. ...

multicast ip address - blocked in call to recvfrom

i am writing a simple multicast application. i intend to run it on localhost. i have done the following: char *maddr; . . . sendfd = socket(...); struct sockaddr_in sasend; sasend.sin_family = ...

Java HTTPAUTH

我试图把桌面应用程序连接起来,我是同D.icio.us api @ Delicious Alan书写的,简单地向他们提供我的用户名和密码,并请他把书记上写给我......。

热门标签