logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Hardware & Networking View previous topic :: View next topic
Reply to topic   Topic: Cannot connect to http server via any mobile device!
Author
DaveLister



Joined: 23 Apr 2018
Posts: 4

PostPosted: Mon 23 Apr '18 19:30    Post subject: Cannot connect to http server via any mobile device! Reply with quote

Hi -

I am running an Apache server (WAMP installation 3.22) and Windows 10.

I can connect to the server fine using the external IP from any desktop / Laptop PC, however - when I attempt to connect via a mobile device - the connection just times out!

So the url goes something like this..

http://82.31.245.89:2048/SomeScript.php

I have disconnected my mobile from the WiFi and used just the mobile providers data network (3G) but it makes no difference.

Also just wanted to say that I configured my router so that I could use the standard port 80 - just in case embedding the port in the url was causing a problem. No change.


Any help would be much appreciated..
Thanks.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Mon 23 Apr '18 21:15    Post subject: Reply with quote

While you're running Apache on port 80, connect the device to you're in-house WiFi again and try getting to it through the LAN.

http://[LAN-IP-OF-SERVER]/SomeScript.php
http://192.168.x.x/SomeScript.php

If that works get Apache back on an odd port and try it again using the LAN IP.

If that works then you've got a strange edge case that might be impossible to figure out.

I could imagine an old mobile device not connecting in TLS but not plain ol' http. And if it did fail on https it certainly wouldn't be quiet about it.
Back to top
DaveLister



Joined: 23 Apr 2018
Posts: 4

PostPosted: Tue 24 Apr '18 0:59    Post subject: Reply with quote

When I initially had problems, I tried binding the service to the default port (80) in case it was the port assignment that was causing a problem. However, my router would not let me - here is the error message when I try port forward using port 80..

"The local ports between 80 and 80 on IP 192.168.0.18 have been added as virtual server already, please try another one"

I have solved this problem now - it was a bug in the firmware of the router and have successfully forwarded port 80.

However, I still have the same problem. I can access the server via a PC but when I try an android (mobile) device the connection just times out.

Here is the real url if anyone cares to test it..

http://82.31.225.61/mobile/getdel.php?Deviceid=nt55jnk

You should be able to run the this link (which just return some test data) on a PC but not from a mobile device.

I live in the UK so the "server" will go down shortly (as its midnight here now) but I will leave it on for a couple of hours - then will boot up again tomorrow at approximately 10:00 GMT.

Will be keen to see if anyone can connect (especially from a mobile!)

Thanks
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Tue 24 Apr '18 4:01    Post subject: Reply with quote

I get nothing. I figure your ISP blocks 80, mine does.
Back to top
DaveLister



Joined: 23 Apr 2018
Posts: 4

PostPosted: Tue 24 Apr '18 10:31    Post subject: Reply with quote

Hi glsnith -

Thanks for trying it for me. Actually it may have been that the "server" was down when you tried.

If you are in San Diago, then the server would have been down from early morning till about 12:30 your time (think you are 4 hours ahead of us hear in Harrogate.)

Anyway, thanks for taking the time to try it. I had a customer (who is in York) try connect and he says he can connect both from PC and mobile. So it looks like its something very strange going on here locally.

I have tried various ports, turned firewalls off and port-forwarding options. Tried it with my Wifi enabled and disabled on my phone and nothing seems to work. I cant even connect from and Android tablet via Wifi! Weird. The only thing I can see they have in common is they are both android devices - but I cant see that being relevant.

Think its time to just find a work-around as its taking up too much of my time now. If anyone has any insight I would still be glad to hear it - as I dont like leaving mysteries behind me Smile

Cheers.

Paul.

P.S Server is running now 09:30 GMT (1:30 your time)
Back to top
DnvrSysEngr



Joined: 15 Apr 2012
Posts: 215
Location: Denver, CO USA

PostPosted: Tue 24 Apr '18 18:16    Post subject: Reply with quote

If I go to just the IP address of 82.31.225.61 from My PC, Mac, or Linux laptop or iPhone, I get the XAMPP dashboard.

If I go to the full link you have posted, I get nothing/blank page.

-S
Back to top
mraddi



Joined: 27 Jun 2016
Posts: 149
Location: Schömberg, Baden-Württemberg, Germany

PostPosted: Tue 24 Apr '18 18:24    Post subject: Reply with quote

Hello,

I see same result as DnvrSysEngr.
So as port 80 is reachable from outside (XAMPP-Dashbord available) the reason for the blank page (http-code 200 Smile ) might be something within your application (see apache's error-log for hints about php-errors)?

Greetings
Matthias
Back to top
DaveLister



Joined: 23 Apr 2018
Posts: 4

PostPosted: Tue 24 Apr '18 18:50    Post subject: Reply with quote

OK thanks guys...

Some weird stuff happening this end for sure. I am going to move on - put it down to one of life's mysteries!

Can invest any more energy / time on it. At least customers say they get a result back from script so that's something.

Cheers.
Back to top


Reply to topic   Topic: Cannot connect to http server via any mobile device! View previous topic :: View next topic
Post new topic   Forum Index -> Hardware & Networking