Connecting 2 computers together via Localhost - windows

I've set up a website on my localhost but I want to test out how multiple users will use the site, so I'd like to be able to connect another computer for this. I've looked at a number of tutorials including How do I connect to this localhost from another computer on the same network?. I have done steps 1 & 2 but step 3 doens't seem to be working. I'm running windows XP on my localhost machine and Windows 7 on the external computer and would really appreciate your help with this, thank you.

Related

How can I access my localhost project in Mobile using Virtual host with XAMPP

I have a WordPress Project which I need to test in Mobile. I use XAMPP and accessing the project in my localhost using the following Virtual Host URL "localhost.sacon". It is working fine in the localhost but not in mobile. Followings are the steps I did.
Connected my mobile and local machine in same WIFI network with the IP 192.168.0.104.
When I enter 192.168.0.104 in my mobile, I am able to see the XAMPP default home page.
When I put my project in "htdocs" folder, I am able to access it in mobile by 192.168.0.104/sacon.
But my requirement is to access the Project with Virtual Host.
My virtual host is "localhost.sacon" and it is working fine in my localhost
But virtual host is not accessible in mobile. I tried "192.168.0.104.sacon" but it is not working. What is the solution.
I already read couple of stackoverflow solution but nothing was worked for me and the explanations are seems to be bit difficult. So what is the exact method i need to follow here. I hope a step by step explanation will make sense. It is not only helpfull for me but for others also. It will be a Great Help for me if anyone can fix this with simple explanation. Thank You Very Much in Advance!

Can't access localhost from computer running on same network

I'm working on two computers on the same network. Computer A has an app working on localhost:4444. However, I can't access it from the browser of Computer B.
Here is my situation:
I pinged it's IP and I'm getting successful responses.
I've tried accessing through the browser: http://192.168.X.X:4444
I'm currently sharing files across both computers via the same network successfully.
Can anyone please help me make this work?
Is port 4444 on Computer A accessible from another computer?
Maybe this helps: https://technet.microsoft.com/en-us/library/ms345310(v=sql.100).aspx
(I am posting a reply since I cannot comment...)

how to Accessing localhost (xampp) from another computer over LAN network?

I have a WI-FI & LAN network at office. I have all my files on my desktop computer (192.168.1.2) and want to access local host over there from another computer (192.168.1.8).
My xampp version is v3.2.2 and windows 7 64 bit.
On my desktop I can access localhost through the normal http://localhost. Apache is running on port 80 as usual.
Exactly what do I have to do to achieve this? There is documentation on the net but they either don't work me or are too old and confusing to understand.
Any ideas as to what changes to make it possible? Please give me step by step instructions.
User should have access of your localhost, you can check this by sharing the folder and check on other machine that folder is accessible or not, If it is accessible then that user easily can access your local host by using the http:/IPAddress, If not contact to IT department they will help to achieve this by removing some restriction on network.

How can I access localhost from another computer in the same network? [duplicate]

This question already has answers here:
Accessing localhost (xampp) from another computer over LAN network - how to?
(25 answers)
Closed 8 years ago.
I just recently downloaded WAMP Server to view and edit php webpages but now I would also like other people in my network (connected to the same wifi) to be able to access localhost and all the files that I have saved. I have already tried to access localhost and my WAMP server was already online, however that didn't work. Can someone help me out? Thanks in advance!
You need to find what your local network's IP of that computer is.
Then other people can access to your site by that IP.
You can find your local network's IP by go to Command Prompt or press Windows + R then type in ipconfig. It will give out some information and your local IP should look like 192.168.1.x.
localhost is a special hostname that almost always resolves to 127.0.0.1. If you ask someone else to connect to http://localhost they'll be connecting to their computer instead or yours.
To share your web server with someone else you'll need to find your IP address or your hostname and provide that to them instead. On windows you can find this with ipconfig /all on a command line.
You'll also need to make sure any firewalls you may have configured allow traffic on port 80 to connect to the WAMP server.

3 layer application non networked?

I have a system named Windchill which runs in a CentOS 5.7 virtualbox;
The system consists of apache, oracle 11g, listener, windchillDS(openLDAP) and the application core (method server) which is a java process. All installed in the same vm(monolithic)
My question is related with the network, The system runs smooth on the network, but once I remove the network cable it stops working and the method server keeps restarting with the socket timeout error.
Im not a IT specialist, I manage the internal configuration of the system and I dont have an specialist to help me right now but I need desperately to make it run non networked in a laptop to show it for a customer.
I just want a hint of where may be the problem:
Does oracle runs non networked? Which configurations do I need to make it run without a network?
Maybe the problem is the listener?
I guess the problem is the oracle because of the socket timeout error with the database but Im not sure...
Sorry this is long and probably needs more explanation, please ask whathever you want!
I found this tip in another forum specific for the windchill product(login needed)
http://portal.ptcuser.org/p/fo/st/thread=52005&posted=1
It is related with Linux configuration to resolve the IPs:
"Edit your /etc/resolv.conf to look like this when not connected to a network:
domain local domain
search localdomain
nameserver 127.0.0.1"
Worked perfectly!
Thank you for your prompt answers guys!!!

Resources