4
4
I'm trying to access a database that is hosted in a Mac localhost from my Android device which are both connected to the same network.
The localhost project is running at www.localhost:8000/
I've entered the IP: 192.168.1.1 (of my laptop connection) to my phone browser and I was able to see the root folder of my project.
However, when I attempted to run it at 192.168.1.1:8000/
, I was not able to access anything and the web browser returned "Webpage not available".
So the issue now is that I can access the root folder using my Android device but I cannot access the "localhost server" of my laptop.
Does the phone browser support port numbers like
:8000
? Can you actually see something at192.168.1.1:8000
with a browser on the Mac? – pavium – 2011-07-09T12:49:08.043From another computer
localhost1
refers to the other computer. You would need to connect to192.168.1.1:8000
from the other computer (the phone). You probably know that, but I'm just trying to make it clear. BTW192.168.1.1
sounds like the ADSL2+ modem I use, and the various computers in my LAN have IP addresses like192.168.1.x
where x>1 – pavium – 2011-07-09T12:56:18.973Hi Pavium , I've connected using a windows laptop and its also fine. I can access 192.168.1.1 using the windows laptop within hte same network. But I cannot access 192.168.1.1:8000 though ... the web service in the mac is running at localhost:8000 and i was hoping to access it using the windows laptop at 192.168.1.1:8000 , any way it may work? – jamen – 2011-07-09T13:01:18.807
I'm running out of ideas, but I think the situation is clearer now. Maybe this question would be answered better on ServerFault? I wonder if it could be flagged, and migrated to SF by a moderator? – pavium – 2011-07-09T13:08:08.683
Hi pavium thanks for helping ! SF is which forum ? StackoverFlow ? – jamen – 2011-07-09T13:27:18.863
@pavium - This should not be migrated to server fault. SF is for sysadmins and the like. A database running on a mac is not on topic for them. – Nifle – 2011-07-09T13:32:05.167
Well anyway ... the cavalry seems to have arrived. – pavium – 2011-07-09T13:59:00.667