473,889 Members | 1,388 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Give all computers in a network to access localhost

Thew
69 New Member
Hi

I just installed apache on my computer (with easyphp).
It works fine. But now i have a question.

I have at my house an network (just a normal house network, where all computers are connected to, so they all can acces the internet).
Is it possible that all my computers can get acces to the localhost here on my computer?
Sep 9 '10 #1
16 7855
Niheel
2,456 Recognized Expert Moderator Top Contributor
You could setup the the dev environment in a VM. Then assign that VM it's own IP on the network. Every machine then has the following in the HOSTS file.

192.168.1.XXX devdomain.com

So everytime you access devdomain.com it will access the VM.
Sep 9 '10 #2
Thew
69 New Member
Iam sorry, please explain it better, i am new to this =)
Sep 9 '10 #3
Oralloy
988 Recognized Expert Contributor
@Thew,

There are a few possibilites on how to go about it. It depends on how your home network is set up.

If your local router is also providing DHCP and DNS services, then you can probably access the local computers by their existing names.

If not, then you need to know your server's IP address.

Windows:
IPCONFIG /SHOW /ALL

Linux
ifconfig

You should see a system address - it'll probably look life four small integers separated by dots. Typically it'll start with 192.168 but it is not guaranteed to be so.

Let's assume you see 192.168.0.4 as your address.

If you don't have DNS locally, you're going to have to use the addresses or enter names in the hosts file.

Typically your URLs will look something like:
The problem with DNS is that it dynamically allocates addresses. If you leave a computer off for some period of time, the address is returned to the pool, and your computer may get a different address next time you turn it on.

So, if you put names and addresses in your hosts files, be aware that they may become obsolete.

Now that you're completely confused, think about it, look up DNS and read a little bit, and then we'll help you sort things out.
Sep 10 '10 #4
Thew
69 New Member
@oralloy i've tried it (with local DNS), but when i checked the URL:

http://192.168.0.1/service/index.php,

I came up with a popup login. Is that normal? Or not?
Sep 10 '10 #5
Thew
69 New Member
Anyone? Please?
Sep 10 '10 #6
Oralloy
988 Recognized Expert Contributor
@Thew,

Sorry for the long delay. I'm on the Amerikan Left Coast, so my hours are a little skewed from most Bytes usesr. It's 6:00 and I just got into work.

Is the pop-up prompting for login, or something else?

If you can give us the specifics of the pop-up, that'll help.
Sep 10 '10 #7
Thew
69 New Member
@oralloy

Yes, its a popup login, where it asks for a username and a password, to let me connect to 192.168.0.1?
Sep 10 '10 #8
Oralloy
988 Recognized Expert Contributor
Exactly.

Are you certain that 192.168.0.1 is the IP address of your server, and not the router?

Remember that the IP address should be the IP of the computer running easyphp.

BTW, I have about two hours, then I'm gone for the weekend. Hopefully we can get this done by then. If not, you many need to start a new thread to get some of the other folks to help finish things off.

Luck!
Sep 10 '10 #9
Oralloy
988 Recognized Expert Contributor
Oh, I had another thought, too. Is your Web server only serving to port 127.0.0.1, or is it serving to the computer's address, as well.

This is important, because if it's not serving to your computer's external address, none of your other systems will be able to access the easyphp server.
Sep 10 '10 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

12
444
by: Joseph | last post by:
Hello We have a web application written in ASP.Net that calls an external C# program (.exe). This C# program needs to access data from a different server and is not able to do so. We use impersonate in the web config for the ASP code to be able to access the network and it is working fine. But since the C# exe is being called from the ASP code, it is apparently not running with the privileges of the userID specified in the web.config for the...
5
3385
by: qvx | last post by:
I would like to test my CherryPy application in varying network conditions, ranging from localhost full speed to low badwidth (ie. 14.4kbps) and variable latency from milliseconds range to seconds range. How can I simulate this? Are there some tricks to be played with Python or is there a specialized software for this kind of things (preferably free). Thanks,
8
2112
by: Noni Ledford | last post by:
Hi - I have a database on a network, and each user logins using a shortcut from his PC to the shared database. There is a table created by a make-table query that locks up whenever more than one user is in the database. It doesn't matter that the users open completely different clients, forms, etc, as long as there are more than one user opens the database this table locks up. And the function that recalculates the amount doesn't work. ...
5
3115
by: Dave Kolb | last post by:
Is there any other solution for an ASPNET application to access network resources other than running as SYSTEM, using delegation (a nightmare to get to work) or the COM+ solution? I cannot seem to impersonate a user and obtain network credentials using the DuplicateTokenEx call with appropriate parameters even though the call seems to not fail. I check my identity has changed but can only still do local commands. I would consider...
3
5840
by: mehdi_mousavi | last post by:
Hi folks, Consider a client program that uses .NET Framework 2.0, and the Transaction namespace, to do some update/insert against a given database using the SQL provider: using (TransactionScope ts = new TransactionScope()) { //Do some update/insert commands against some tables... ts.Complete(); }
0
1922
by: SimonSez07 | last post by:
i have a vbscript that i use to add/modify dns zones on my nameserver from my iis 6.0 server accross the network using wmi. (both servers are win2k3) my script works fine when executed using cscript.exe, but when embedded into an asp page, it hangs on the following line: Set objDNS1Service = GetObject("winmgmts:\\ns1\Root\MicrosoftDNS") the error message i get is: Microsoft VBScript runtime error '800a0046'
3
3107
by: rajamurugank | last post by:
Hi, Good Morning friends, I am new in DB2 database.we have DB2(9.1) database on zLinux.I can access the DB using the admin user. But,i can't access the DB as a normal linux users. Now the issue is, How to give the DB2 access for all or some local users. Platform-RHEL4U4 Arch -s390
0
1105
by: parez | last post by:
Hi, I have a setup and deployment project. I am using vs 2008. During the setup process, I want to give full security access to run a network exe. How do i do it? I can create a batch file.. but how do i run a batch file during installtion? Is there way without writing a custom action? if not then is there a
3
3403
by: philqw78 | last post by:
Using quite a simple Access DBase across the network I occasionally get this error: The dbase is split with front ends on user's PC's and a back end on the shared drive. This has happened to me whilst editing and backing up the back end of the database and to one other user. She was using the front end copy on the shared drive instead of her PC though. What could be causing this? The dbase has been corrupted once so far because of it....
0
9961
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10784
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10887
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10439
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9602
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7148
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6021
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4642
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3252
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.