connecting to web server with ip address on a mobile browser

  • (2 Pages)
  • +
  • 1
  • 2

15 Replies - 5604 Views - Last Post: 06 December 2012 - 07:05 AM

#1 khedron  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 52
  • Joined: 20-October 12

connecting to web server with ip address on a mobile browser

Posted 19 November 2012 - 04:41 PM

title says it all, i have a site thats family view only , or at least i will in a while. since it will be mostly hosting media and files for about 10 people i don't see the need to get a domain . i am able to connect to it with the ip address on desktop browsers, when i try it on a phone i can't connect . it usually says request refused (???) . the phone is a nokia asher, and i have also tried on a black berry storm , what am i missing ?
Is This A Good Question/Topic? 0
  • +

Replies To: connecting to web server with ip address on a mobile browser

#2 Sergio Tapia  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1253
  • View blog
  • Posts: 4,168
  • Joined: 27-January 10

Re: connecting to web server with ip address on a mobile browser

Posted 20 November 2012 - 03:51 PM

What browser are you using on Mobile devices?

What web server are you running on your remote server?
Was This Post Helpful? 0
  • +
  • -

#3 khedron  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 52
  • Joined: 20-October 12

Re: connecting to web server with ip address on a mobile browser

Posted 21 November 2012 - 02:24 AM

the server is LAMP and am using Ubuntu 12.04 as the host os. even tho php and mysql are installed,am only trying to access index.html on the sever

the pones i have tried are ,

nokia 200 asher with default nokia browser,

Bb 9xxxx:(don't remember it was older )
am not a Bb head and the phone was not mine so am not sure it was the default browser, it seemed to be.the location from the main screen was . <BB button to menu> BB button again to switch to> scrolled right to web browser .

i also have a generic phone from a company called
tecno (tecno system. you can google it)
i think its based in china (not fake clones, they make generic phones) and it has opera mini, i have also tried its default browser.

all these phones where not purchased in the us . they were also all purchased unlocked from registered retailers

my sister has android on a Huawei Edios But i haven't gotten to try it.
Was This Post Helpful? 0
  • +
  • -

#4 khedron  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 52
  • Joined: 20-October 12

Re: connecting to web server with ip address on a mobile browser

Posted 21 November 2012 - 02:46 AM

am not sure but i think there is Mozilla on the android and i didn't do it personally but it also failed
Was This Post Helpful? 0
  • +
  • -

#5 roweneil1  Icon User is offline

  • New D.I.C Head

Reputation: 3
  • View blog
  • Posts: 12
  • Joined: 17-October 12

Re: connecting to web server with ip address on a mobile browser

Posted 04 December 2012 - 02:57 PM

Is the server port forwarded on the router so that you can access it from other networks?
Was This Post Helpful? 1
  • +
  • -

#6 no2pencil  Icon User is offline

  • Toubabo Koomi
  • member icon

Reputation: 5247
  • View blog
  • Posts: 27,068
  • Joined: 10-May 07

Re: connecting to web server with ip address on a mobile browser

Posted 04 December 2012 - 03:01 PM

roweneil1, just what I was going to suggest.

Are your family members putting in the internal (non-routable) or external (routable) ip address? Your phone is going to almost certainly be on an external network, like G3/G4, unless you are explicitly joining wifi & checking that way.

if the assumed statement above is true, then your issue is one of two things :

1.) Your isp does not allow port 80 traffic
2.) You did not forward port 80 requests from your outside interface to the server
Was This Post Helpful? 0
  • +
  • -

#7 khedron  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 52
  • Joined: 20-October 12

Re: connecting to web server with ip address on a mobile browser

Posted 05 December 2012 - 05:28 AM

well the server its self is using a 3g gprs gsm network which only has a usb modem . am not really sure there is a router . ( i know you guys are thinking that 256 kb/s is not gonna cut it for a media server, but its being moved to a fiber optic conection in jan)

Quote

You did not forward port 80 requests from your outside interface to the server


am not sure what you mean by outside interface .. if you mean non networked ip as in local ip , no they are using the ipV4 adress or what ubuntu calls the broadcast address ,


Quote

1.) Your isp does not allow port 80 traffic

is this the isp for the phones or mine ?

also would this problem go away if i setup a domain name ?
Was This Post Helpful? 0
  • +
  • -

#8 no2pencil  Icon User is offline

  • Toubabo Koomi
  • member icon

Reputation: 5247
  • View blog
  • Posts: 27,068
  • Joined: 10-May 07

Re: connecting to web server with ip address on a mobile browser

Posted 05 December 2012 - 06:55 AM

View Postkhedron, on 05 December 2012 - 07:28 AM, said:

Quote

You did not forward port 80 requests from your outside interface to the server


am not sure what you mean by outside interface .. if you mean non networked ip as in local ip , no they are using the ipV4 adress or what ubuntu calls the broadcast address ,

The default port for a website is port 80. The web browser goes outbound on what is called an ephemeral port, which is in a random range of ports, & makes a request to port 80 of the target. The domain name is translated to an ip, & the request is made. The web server than receives & answers the request on the outside interface, the modem, where it is then handed to the next device. If that device is a router, the ports need to be forwarded to the internet subnet based ip (like 192.168.x.x) of the server. If there is no forwarding rule, the packets are dropped. If there is no router, than your server is on what is called a DMZ, & should also have the outside (routable) ip address. If you are using ubuntu, you should be able to open a command prompt & type ifconfig, & check your assigned ip address. Go to Google & search "What is my ip" & if they match, you are on the outside interface & should not need port forwarding.

View Postkhedron, on 05 December 2012 - 07:28 AM, said:

Quote

1.) Your isp does not allow port 80 traffic

is this the isp for the phones or mine ?

The isp for the server.

View Postkhedron, on 05 December 2012 - 07:28 AM, said:

also would this problem go away if i setup a domain name ?

No, a domain name will translate to the ip. If the ip isn't working, you are not going to fix that with setting up a domain name.
Was This Post Helpful? 1
  • +
  • -

#9 khedron  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 52
  • Joined: 20-October 12

Re: connecting to web server with ip address on a mobile browser

Posted 05 December 2012 - 01:59 PM

well i think you found the problem. ifconf returned a totally diferent one than google , the one in ifconf starts with 10.255 and the google one 41.215. i guess al have to forward it then ? would i edit the ports.conf in apache? and how ? so far there is just the listen 80, (if am asking too much let me know, site rules and all ) thanks
Was This Post Helpful? 0
  • +
  • -

#10 no2pencil  Icon User is offline

  • Toubabo Koomi
  • member icon

Reputation: 5247
  • View blog
  • Posts: 27,068
  • Joined: 10-May 07

Re: connecting to web server with ip address on a mobile browser

Posted 05 December 2012 - 02:08 PM

Yes, the 10. subnet is a non-routable class a. You certainly have a device between your server & the modem.

Quote

would i edit the ports.conf in apache? and how ?

No. Apache is at address 10.x.x.x & listening for requests to port 80. Your modem is address 41.215.x.x & hands off traffic to whatever device is attached next. This is presumably a router, switch, or some sort of device that will setup a subnet for sharing traffic. It is on this device that you need to forward port 80 requests from the outside interface to the 10.x.x.x address of your server.

It is also at this point that you want to disable dhcp on your apache webserver & setup a static route. Otherwise, after the next interruption of power, reboot, whatever, anything that occurs could allow dhcp on the router to assign a new address to the apache server, thus all your port 80 requests are going to the wrong internal ip.
Was This Post Helpful? 0
  • +
  • -

#11 khedron  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 52
  • Joined: 20-October 12

Re: connecting to web server with ip address on a mobile browser

Posted 05 December 2012 - 03:00 PM

Quote

No. Apache is at address 10.x.x.x & listening for requests to port 80. Your modem is address 41.215.x.x & hands off traffic to whatever device is attached next. This is presumably a router, switch, or some sort of device that will setup a subnet for sharing traffic. It is on this device that you need to forward port 80 requests from the outside interface to the 10.x.x.x address of your server.


damn i have an odd feeling that device is in a big ass safaricom building...
i think i have to wait till jan :( .
Was This Post Helpful? 0
  • +
  • -

#12 no2pencil  Icon User is offline

  • Toubabo Koomi
  • member icon

Reputation: 5247
  • View blog
  • Posts: 27,068
  • Joined: 10-May 07

Re: connecting to web server with ip address on a mobile browser

Posted 05 December 2012 - 03:01 PM

Judging that you don't know where the device is, leads me to believe you would hit the wall when you found it anyway. Because you would be required to know the username & password to log onto it, as well as it's ip address.

It just sounds like you don't have enough control over the network to set this up where you are currently at.
Was This Post Helpful? 0
  • +
  • -

#13 khedron  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 52
  • Joined: 20-October 12

Re: connecting to web server with ip address on a mobile browser

Posted 05 December 2012 - 03:15 PM

ya i just got that but i will be soon , but just incase you might have a way around it , .. my connection is simmilar to a tether using a smart phone. does the phone act as the router? EDIT... and modem

This post has been edited by khedron: 05 December 2012 - 03:21 PM

Was This Post Helpful? 0
  • +
  • -

#14 no2pencil  Icon User is offline

  • Toubabo Koomi
  • member icon

Reputation: 5247
  • View blog
  • Posts: 27,068
  • Joined: 10-May 07

Re: connecting to web server with ip address on a mobile browser

Posted 05 December 2012 - 06:08 PM

Unfortunately I don't know anything about tethering phone service. I would assume that to get it on a pc, or on multiple pcs, that it would setup a hotspot.

But that's just speculation, I really have no idea.
Was This Post Helpful? 0
  • +
  • -

#15 khedron  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 52
  • Joined: 20-October 12

Re: connecting to web server with ip address on a mobile browser

Posted 05 December 2012 - 11:09 PM

thats fine , atleast i know what to do . now . but i can still access the site on every thing exept phones ,( deff sounds like something the isp would setup), thanks a lot . . i think al go and start looking into tcp/ip all this ip stuff just gets me lost .
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2