Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 04, 2012, 06:47:09 AM

Pages: [1]   Go Down
  Print  
Author Topic: About Local server  (Read 782 times)
Saurabh
Galactic Royalty
*****
Offline Offline

Posts: 268


ITnauts.com


WWW
« on: February 18, 2009, 11:43:39 PM »

Hi I dont know wheer to ask but here it is:
 I have a local server on my main OS as http://127.0.0.1/ ,
 how would I access it from my virtual OS or from another computer on LAN.
Thankyou.
Logged

scanman20
Über Jedi
*****
Offline Offline

Posts: 1520



WWW
« Reply #1 on: February 19, 2009, 06:35:15 AM »

Type the hostname or IP address of your main OS in the browser of the virtual machine or other computer on your LAN.
Logged

Even a broken clock is right twice a day.
NotOneBit.com
MCSE - MCSA - MCP
MrPhil
Berserker Poster
*****
Offline Offline

Posts: 5079



« Reply #2 on: February 19, 2009, 08:09:31 AM »

Just keep in mind that the IP address 127.0.0.1 is "special". It is the "loopback" IP address and is only usable on that machine. I.e., each computer has its own 127.0.0.1 and you can't get to another computer via that address. Beyond that, with routers, switches, multiple interface cards, virtual machines (e.g., VMware), etc., I'm sure it can get quite complicated (and I'm certainly no authority on the subject).

P.S. Have you read through the "pinned" topics on the PHP & MySQL board? Several of them discuss the care and feeding of local servers, and might give you some hints.
« Last Edit: February 19, 2009, 08:12:02 AM by MrPhil » Logged

Pages: [1]   Go Up
  Print  
 
Jump to: