Open local XAMPP site on iPad - ios

How can I open my local XAMPP site and iPad?
I tried to open it like this:
http://192.168.3.132
But it keeps loading so I guess it does not work.
The IP is correct, I got it using ipconfig (Windows).

Related

Virtual host on Mamp Pro not working

Am new to Mamp Pro though I've been using plain Mamp for a while. Using MacBookPro running Yosemite.
Mamp's default localhost server is working fine and in a browser I can open subfolders living in htdocs with no problem and they behave like sites.
But I set up a virtual host in the Mamp Pro interface, e.g., clientname. The folder 'clientname' lives in the Mamp htdocs folder. Have restarted Mamp. When I try to view the site (clicking on the arrow in the Mamp Pro interface) in a browser (Firefox) it wants to download a file rather than opening the home page. Safari simply shows a blank page.
What am I doing wrong?
Solved it, was a problem of file suffix. With the site set up in this way, on a virtual Mamp Pro server, browsers wouldn't open index.html, it had to be index.php
I don't understand why this should be especially as that page has only static content and doesn't need to connect with the database and doesn't contain a php include file or any php code at all.
If anyone knows why the page has to be .php I'd be interested to understand the issue.

Test Website on Local Network

I'm a web developer that's not very savvy when it comes to networking. I have a web site that is on my local machine. I've setup the website so that it is currently running on my local IIS. I can access the website while doing development by putting http://localhost:11000/ into the address bar of my browser. Now, I want to test my website on a tablet.
My tablet and my local development machine are on the same network. I confirmed they are hitting the same router. When I ask Google what my IP address is, it returns the same address for both my development machine and on my tablet. When I enter [ipAddress]:11000 into the browser on my tablet, it works for a while and then returns nothing. The browser just says:
"Safari could not open the page because the server stopped responding."
My question is, how do I test a website from my local development machine on my tablet? Are there IIS settings I need to change? If so, what settings?
Thank you!
iis ipad
I would use the command window and enter ipconfig to discover the ip address of your dev machine. Then use that IP address on your remote machine (ipad). The IP address you are getting that is the same between your workstation and your ipad is likely your router's address. but each of your devices has an address of its own; you need the workstation's IP address to connect to its IIS instance.
A similar question was answered previously at:
How to access your website through LAN in ASP.NET

How can I view an Aptana 3 project on iPad?

I want to view my project on an iPad over a local network. I have tried changing the IP address at the start from 127.0.0.01 to my IP address found using cmd and ipconfig but the files still won't load. Is this possible and how to please?
I believe that you need to run a server using a software like WAMP/MAMP/LAMP/XAMP or AMPPS. Then you may put your website in the "compiling" folder (usually it is something like htdocs or www). And finally you can use the http://localhost/ address.

Want to test local server website on iPad

I have a issue. I have a website which is run via VMware. My website server is in VMware and after starting VMware I can access website on my desktop browser. Now I want to test same website on iPad and tablets. So is there anyway I can bridge between these two connection. My iPad uses wifi of same network with desktop. Please suggest if anyone has solution for this.
Use bridged networking
Then get the IP for your virtual host (Im assuming you've got a windows virtual machine there):
Start > Run > cmd.exe
ipconfig
Look for the IPV4 address (something like 192.168.0.145) and type that into safari location bar on the notepad.
http://192.168.0.145/

How to access a local rails website using virtualbox

I'm working on a local Rails website, and I'd like to access to it from my visrtualbox machine running winXP
From my Ubuntu machine, I use my browser to open http://www.myapp.local:3000
How can I access it from Virtualbox?
Thanks a bunch!
On your xp machine, open up your hosts file at C:\Windows\System32\drivers\etc\hosts in a local text editor like notepad or whatever is on there.
Then add a line like this:
10.70.30.31 www.myapp.local
Where 10.70.30.31 is the IP address of your Ubuntu machine.
Save the hosts file. Then restart whatever browser you're using on the XP box. Make sure you close all of the browser windows you have open as well because your browser will cache your hosts file until you properly restart it.
Once you've opened a new browser window you should be able to access your rails site from the same address you use on your Ubuntu machine.
http://www.myapp.local:3000

Resources