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

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.

Related

how to access xampp server from internet using dynamic ip address

I have installed xampp server on my windows 7.
I am connecting internet using HUAWEI Dongle.
I don't have any static IP address.i Want to access my php file from internet example I have connected to internet now I have dynamic IP address like 100.101.73.240 if some one enter 100.101.73.240/home.php in his browser address bar then my home.php page should open in his browser.
What should I do for this give me step by step guide.
Local Ip can't work over the internet. It's your intranet network. If you have dynamic internet IP, then you simply configure the Dynamic DNS service. Which you can configure your Internet Router with the following settings (provided by the Dynamic DNS service providers).
dyn.com
noip.com
dynu.com
many more.
Thanks
If you want to share IP with someone from your local area network:
Go to cmd, run ipconfig command, and find your local IP, which should be like 192.168.xxx.yyy. You can easily share it with no worries it will change each time you reset your network.
If it's someone from external network:
You have no power to share your external IP if you have dynamic one, it will change too often, but still it should work for a short connection sessions. To obtain a stable address you would have to register a domain

Accessing my Local Host from different computer in a different network

I'm current using Xammp,and have created a website in the htdocs. I want to know if i can access this from another computer (not in the same network) and work on the site from that other computer.
You can do this by using the dynamic dns service provided by noip.com. Download the noip client and setup an account in it (try Googling on it).
After that you must edit the conf files in XAMPP to allow outside network to communicate with your network.

I am not able to host my own Web site

I have a high speed cable internet connection at home. I have D-link router, and I connect 2 computers, one is a desktop running Windows XP, the other is a laptop running Windows 7. I am perfectly able to use internet on both computers.
Now I want to host my personal web site from my home computer. I have already built the site that is running on my home network. Now I want to make it accessible from internet. I did all the procedures to open the appropriate ports on my router, allow incoming connections, and port forwarding setup, using the router's guide : http://www.dlink.com/-/media/Consumer_Products/DIR/DIR%20826L/Manual/DIR_826L_MANUAL_EN_UK.pdf .
However I am still not able to see my web site from public internet.
When I try to go to my site using my local IP address (192.168.0.103) or computer name, the site is loaded on other home computer, but when I try the same using my public IP address (found with "what is my ip" on google search), I get "Page cannot be loaded" error.
Can someone please help me telling what I am doing wrong, and how the problem can be fixed?
Thanks in advance.
Are you attempting to hit your WAN IPaddress from inside your house, aka, on the lan that the WAN would hit? It could be NAT Reflection/lack thereof getting in your way. Make sure you're trying to hit your WAN IP from a network outside of your local network. If you have a phone, turn off wifi, and use your phone.
Besides that, you've listed all of the basic steps necessary. Should the above not be the problem, I would start by checking your PCs firewall. In particular on Windows 7 checking to make sure you click real hard on that "public networks" button. Then just try and ping port 80, not load the webpage. If you can't ping, it suggests configuration issues with your router/connection. If you can, there's just some configuration that's effed up with your webserver.

Connect to local server on MAC from WINDOWS?

I am trying to connect to a .local server on my MacBook Pro from my Windows 8 desktop for testing. Is this possible?
I can "access" it from computername.local/serverlocationfolder, but it messes up all of paths/styles since the install is using a CMS.
Is there something I can do from the Mac or PC side to make this possible? Or will I have to install a local server (mysql, php, etc etc) on my Windows machine to test properly?
** I wanted to clarify that both of these machines are on the same network.
You may need to add the domain name you are using to access your mac to your vhosts as a ServerAlias so that it points to the correct docroot. Don't forget to restart apache! :)
If you find out the IP address of the machine you want to access and you have the appropriate ports open, you should be able to access any protocol from any machine.
You can use the IP address instead of the .local address anytime.

xampp and acces Local area network

I create a local network between my physical machine (windows) and my virtual machine (Fedorat)
I installed xampp on fedorat and I want to access my web application located in / opt / lampp / htdocs / MyApplication from my physical machine by ip address of the virtual machine
http://192.168.0.2/
But its not working
What changes must I do that on xampp to make it accessible
Is your webserver running and is it possible to access the webserver locally (from your Fedora VM)?
What do you mean by not working? There are so many things that could be wrong... Do you receive a 404? Timeout? Are your machines on the same subnet? Are you able to ping your Fedora machine from Windows?
Had a similar problem once. In my case, it was because of firewall settings.
Try connecting your own machine to a LAN access point in the same router as the VM is connected.
I don't have much tech. background, but maybe if you narrow it to this specific case, someone else can help you.
Cheers.
I ping my VM from my physical machine and it works very well
How long have I install wamp on my physical machine and I set up for access to local network and I accessed from my VM
So the network between two machines running very well
my question is not about the establishment of networks between the two machines but rather how to configure XAMPP that it is accessible by
other machine in network
(I was already a problem on windows with wamp parail I solved by configuring wamp but I recall more of what I did)

Resources