homepage Welcome to WebmasterWorld Guest from 23.20.220.79
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
change default localhost IP to ISP IP
sam222




msg:4378226
 5:42 am on Oct 23, 2011 (gmt 0)

My localhost having 127.0.0.1 as default IP address. Can i change it to one got from ISP?

 

g1smd




msg:4378240
 6:56 am on Oct 23, 2011 (gmt 0)

Question too vague.

lucy24




msg:4378241
 6:58 am on Oct 23, 2011 (gmt 0)

Can you ask that again, using more words? It's not really clear what you want to do.

127.0.0.1 is used for convenience. You can give anything in the 127.n.n.n range and it should work the same.

sam222




msg:4378251
 7:44 am on Oct 23, 2011 (gmt 0)

I just want to run a test program from my localhost. I always get 127.0.0.1 when i try by $_SERVER['HTTP_CLIENT_IP'] or $_SERVER['REMOTE_ADDR'] or $_SERVER['HTTP_X_FORWARDED_FOR'] locally. How can i assign same network IP to my server so that i would be able to access something like 86..

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved