Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connecting to localhost from another computer

Status
Not open for further replies.

irishjoe

Programmer
Aug 5, 2002
76
AU
Hi, I am having problems galore when trying to view pages on this computer from another. I can go to
Code:
 [URL unfurl="true"]http://dell2006-1/localstart.asp[/URL]
and get the ‘Your web service is now running’ message so everything is fine there I think.
I can remote desktop to another computer on the network and copy and paste the address in but it comes back with “Internet Explorer cannot display the web page.”
Does anyone know of any tests that I can perform to find out whats stopping it from working?
If I right click and go into the properties of Inetpub, what should it be shared as?
I think the problem lies in the network allowing guest access or something because I did this a couple of years ago at home and it worked fine first time without any problems.

Notes:
* I am using the default firewall on all machines and they are running XP.
* The network is a domain in my work. (Not a workgroup.)
* I can browse the network to \\Dell2006-1 in windows explorer and see “Printers and faxes” and “Scheduled Tasks”.
* I have gone into IIS and done the Permissions Wizards on the test folder and selected public access.
* I have also gone into IIS and selected properties of the websites under the computer name, went to the Directory Security Tab, then edited the Anonymous access control to allow the IUSER_DELL2006-1 to have access.
 
I'm a bit confused here, what machine is IIS running on?

Have you tried using the physical IP address of the machine in question?

i.e.
Does it work on local host?


Can you ping the machine across the network, both by IP and Name.

Remembering that these names are in fact netbios names, so IMSMC you'll need to create either a hosts entry or a DNS entry for DELL2006_1 to resolve.

--

woogoo
 
Sorry for the confusion, I’m confusing myself a lot of the time!!!
iis is running on Dell2006-1 and I am trying to access it from Dell2004-1.
I have tried typing in the Dell2006-1 IP address into Internet explorer like this
Code:
 [URL unfurl="true"]http://10.0.0.35/[/URL]
but still comes back the same as before.
Both computers can ping each other ok so I think they are connected ok, I think its something to do with permitting other computers to access the Dell2006-1 computer.

I can type this into Dell2006-1
Code:
 [URL unfurl="true"]http://dell2006-1/test/Test.html[/URL]
and get a Hello World page but it won’t work on the Dell2004-1 computer.

What is the 127.0.0.1 address used for? I typed that into Dell2006-1 and got a page saying “No web site is configured at this address.”

You will have to excuse my ignorance but what does this mean?
Remembering that these names are in fact netbios names, so IMSMC you'll need to create either a hosts entry or a DNS entry for DELL2006_1 to resolve.
I am only getting into converting my programming knowledge into vb.net recently and doing it with books rather than a course leaves big holes in my training…

Thanks so much for your assistance, been trying to figure this out for days!!!
 
Make sure that your firewall has an exception set up for port 80 on the machine that is hosting the website (or whatever port it's listening on). You can always reach the site locally, because it's not involving any firewall.

If you're not sure, you could turn your firewall off for a few moments while you test from another machine (make sure you turn it back on afterwards).

The 127.0.0.1 address is a localhost loopback address that every computer is configured with. It's an address that the computer does not have to resolve, so it's guaranteed to work as long as your TCP/IP stack is functioning correctly.

im in ur stakz, overflowin ur heapz!
 
My jove, I think you have it! I couldn't switch the XP firewall off but I added a custom port in for port 80 and it let the remote computers connect to the Dell2006-1 computer that had IIS on it.
I could have sworn I checked the firewall, but was ages ago so might have been for something else.

I tried the 127.0.0.1 link and it still comes back with page cannot be found. I also tried it on another that had xampp installed and the link took me to its make configuration page. So I think its some way that I have mis-configured IIS.

Thanks for the help guys!
 
Check your IIS Default page file list. There should be index.htm, index.html, Default.htm, etc.

Create one "default" page for your site, or add one filename of those you already have to the list.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top