Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to set a fix ip address to access localhost on iPad?

I use XAMPP on Windows PC but access localhost on iPad. in iPad i need to type http://ip_address_of_my_computer_instead http://localhost

The problem is every-time when I restart the pc ip address of my PC gets changed. and when go to office network it also get changed

for example. some time it's and sometime it will be

Can I set a fix ip for my laptop, even I'm at home or Office.

I want to fix the local ip for my pc fix.

share|improve this question

closed as off topic by joeqwerty, jscott, Iain, Ben Pilbrow, Shane Madden Aug 20 '11 at 15:38

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

The name "localhost" is an alias to the IP address, which is always the local computer. It is not advisable to try to alter this behavior..even if you could.

A static IP address will be problematic as you move your computer from work to home and back again. Each time you go to a new place, you're likely to find that your laptop can't access network resources. Your best bet is to setup a DHCP reservation at home on your router so your computer is set to DHCP, but it will get the same IP address every time. You can ask your network administrator to do the same for you at work. THen, you'll only have to remember two IP addresses to test with depending on where you are.

share|improve this answer
+1 for a DHCP reservation. – ceejayoz Aug 20 '11 at 14:08
You'll need to find your MAC address to do this. If i can remember correctly it's Settings > General > About > Wi-fi Address. – Nixphoe Aug 20 '11 at 14:58

Not the answer you're looking for? Browse other questions tagged or ask your own question.