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

Apache is serving on 192.168.1.4:8888 on a Windows 7 computer. But I can't view the website with iPhone/iPad's Safari. However, I have another linux computer and it can access the webserver and ping the address of the Windows 7 computer.

I cannot ping the webserver from the iPhone - using an app for that - However I can ping back the iPhone from the linux or windows computer. This situation happens on the home LAN.

I get to the office LAN, and different IPs are given to the devices: the setup works here and I can view the webpage from the iphone,

Note: windows firewall inbound ICMP protocol and inbound 8888 port rules, are created.

share|improve this question
Not familiar with apple devices, but have you set a route? – Alex Oct 4 '12 at 2:54
During the day at my office network, I can access the server on my windows 7 laptop using the office lan and the same iphone. But then I get home and the iphone can't connect to apache on the laptop on the home lan. This could seem like a problem in my home router, but then how come the home linux computer can access the apache laptop and the iphone not? – dieselJoe Oct 4 '12 at 3:13
route or rule? I made a custom inbound rule to allow incoming requests for apache on port 8888 on windows firewall. Setting a route? – dieselJoe Oct 4 '12 at 3:15
1  
Fire up wireshark on your computer, and try to connect from your iPhone. Do you see the incoming connection? – Zoredache Oct 4 '12 at 3:46
1  
@joeqwerty has a point there. You should make sure you are really connected to your home network and not just to your carrier's mobile network. Also note that your laptop will most probably have a different IP-address at home than in your office, so this might be part of the problem. – Alexander Janssen Oct 4 '12 at 4:17
show 3 more comments

closed as off topic by Zoredache, HopelessN00b, John Gardeniers, Iain Oct 4 '12 at 16:50

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined in the FAQ. 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 closed questions here.

1 Answer

'Windows 7 computer' Thats part of the problem - Windows 7 blocks pinging by default. 'iPhone/iPad's Safari' - Thats the rest of the problem for the other part, I am guessing that safari isn't happy with using non standard ports - There's anecdotal evidence of it.

Turn on pings on the windows box, or better yet, try running your application off a linux VM on a standard port , and a non standard port to make sure its not the application. If possible use port 80, or get some port forwarding set up to emulate this.

We really have a perfect storm of too many malfunctioning variables here.

share|improve this answer
1  
First, he says that his Linux box can ping he Windows 7 box. Second, iPads and iPhones can do pings and non-standard ports. I have anecdotal evidence that it works. In fact, I just did it from the iPad from where I'm writing this posting. – Alexander Janssen Oct 4 '12 at 4:12
1  
Any "evidence" that suggests Safari can't work with non-standard ports is utter garbage written by people who don't know what they're talking about. It does it as well as any other browser I've ever come across. – John Gardeniers Oct 4 '12 at 8:13
I don't have a suitable system to test it on, hence the 'I'm guessing'. Thats why the second paragraph suggests testing it on both the standard and non standard port, as well as seeing if it works on a different environment. – Journeyman Geek Oct 4 '12 at 8:51
@JourneymanGeek But safari's iphone at the office lan, can connect to my windows 7 laptop using the non-standard 8888 port: just -of course, or as expected- with a different ip address supplied by the office DHCP. I have enabled incoming ICMP/ping requests on the windows 7 laptop's firewall. – dieselJoe Oct 4 '12 at 16:35

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