Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
dzach
Starting Member
38 Posts |
Posted - 2006-11-30 : 13:14:02
|
I have some ASP pages I'm developing and they all work fine if I use https://localhost/file.asp, but they don't work when I use 127.0.0.1/file.asp. Also, other workstations can't access the asp files across the LAN as well. I originally thought this was a connection string issue, but that's not the case here. Also, I can use https://machinename/file.asp from the IIs server and that works as well.Suggestions?Thanks! |
|
afrika
Master Smack Fu Yak Hacker
2706 Posts |
Posted - 2006-12-13 : 08:27:23
|
well it depends on the IP address of 1. your server which in this case is your workstation2. The IP address set in your IIS MMC snap inrun an IP address test on command prompt, type ipconfig/all |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2006-12-13 : 09:01:09
|
LOCALHOST and IP 127.0.0.1 are reserved Name and IP-address, and are always evaluated to the local machine.Peter LarssonHelsingborg, Sweden |
|
|
jsmith8858
Dr. Cross Join
7423 Posts |
Posted - 2006-12-13 : 09:02:26
|
quote: Originally posted by dzach I have some ASP pages I'm developing and they all work fine if I use https://localhost/file.asp, but they don't work when I use 127.0.0.1/file.asp. Also, other workstations can't access the asp files across the LAN as well. I originally thought this was a connection string issue, but that's not the case here. Also, I can use https://machinename/file.asp from the IIs server and that works as well.Suggestions?Thanks!
As always, please define "doesn't work". page not found? error messages? app works but not well? database connections don't work? etc.- Jeff |
|
|
afrika
Master Smack Fu Yak Hacker
2706 Posts |
Posted - 2006-12-13 : 09:47:35
|
quote: Originally posted by Peso LOCALHOST and IP 127.0.0.1 are reserved Name and IP-address, and are always evaluated to the local machine.Peter LarssonHelsingborg, Sweden
Hi Peter127.0.0.1 is a loop back test IP, its reseverved for IP less machines or to ping the NIC card.If you have a static IP address for your localhost website in the MMC snapin it wont work, maybe thats the problem |
|
|
|
|
|
|
|