如何从局域网中的另一台计算机访问wamp服务器? [英] how to access wamp server from another computer in a lan?

查看:488
本文介绍了如何从局域网中的另一台计算机访问wamp服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个页面,将有关简历的所有信息存储到数据库中。

我使用了php和mysql数据库。它在wamp服务器上运行...

它在该系统中工作正常。


现在我想从另一台计算机访问该页面并将值存储到数据库。计算机连接在局域网中。


另一台计算机没有wampserver。是否可以使用服务器IP地址访问这些页面?如果是这样的话?

plz帮助..

i created a page that stores all the information about the resume in to the database.
i used php and mysql database. its runs on wamp server...
it works fine in that system.

now i want to access that page from another computer and store the values into the database.computers are connected in the LAN.

another computer doesnt have wampserver. is it possible to access those pages using the servers ip address? if so how?
plz help..

推荐答案

WAMP 你的服务器还是 Apache 你的服务器?

WAMP =Windows Apache MySQL PHP。


Apache是​​你的网络服务器而不是WAMP


事实上,访问网页你不需要任何服务器安装在你的系统中。但服务器(将服务客户端请求)需要安装服务器。


是的,您可以从其他计算机访问您的服务器。在这种情况下,有两个问题是可能的。

1.如果您只需要从本地网络访问

2.如果您需要从互联网访问,即从地球上的任何地方访问。


2 您必须拥有真实(公共)IP地址。


1 :您只能从本地网络访问。本地IP地址就足够了。


两种情况下都需要对 httpd.conf 文件进行一些小改动。
is WAMP your server or is Apache your server?
WAMP="Windows Apache MySQL PHP".

Apache is your web-server not WAMP

As a matter of fact to access a web page you do not need any server to be installed in your system. But the server(who will server the client request) need server to be installed.

Yes you can access your server from other machine. In that case two issue is possible.
1. If you just need to access from local network
2. If you need to access from internet i.e. from anywhere on earth.

for 2 you would have to have real(public) IP address.

for 1: you can access only from local network. Local ip address is enough.

in both case you need to make a small change in httpd.conf file.
展开 | 选择 | < span class =codeLinkonclick =WordWrap(this);> Wrap | 行号


非常感谢


是httpd.ini文件吗?还是httpd.conf文件?

在wamp中我只找到httpd.conf文件和php.ini文件。在哪里进行这些更改?
is it httpd.ini file? or httpd.conf file?
in wamp i find only httpd.conf file and php.ini file. where i to make these changes?


这篇关于如何从局域网中的另一台计算机访问wamp服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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