Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I can normally run MAMP on my Macbook and then debug mobile devices by connecting to, for example, http://192.168.0.xx:8888. Our network has changed slightly now to a Technicolor TG582n WIFI router and now my connection to that address is very intermittent, not working for the majority of the time.

I checked the router's logs and it is logging the following after a failed (server not responding) attempt from the mobile:

FIREWALL replay check (1 of 4): Protocol: ICMP Src ip: 192.168.0.66 Dst ip: 8.8.8.8 Type: Destination Unreachable Code: Port Unreacheable

192.168.0.66 being the IP of the Macbook I'm trying to access via the mobile. My DNS settings on the Mac use Google's public DNS of 8.8.8.8 so that's possibly where that destination IP is coming from.

Any idea how to make this resolve properly? Ideally I would want to have the Mac always connect to the router via the same ip, eg 192.168.0.99 as I guess a fix here will involve some kind of port forwarding and it would change each time the Mac's network IP changes which it tends to do every day after it reconnects. I've never had this problem before on all the other routers I've done similar... I'm out my depths at how networks work here to fix this!

share|improve this question
    
Generally speaking, if the mobile device is connecting via WiFi rather than via a mobile service provider, then it is on the same side of your firewall as your macbook, and should be able to access it via its IP address without you needing to set up port forwarding or any special configuration on the router. Can you access the address you gave from another wired device on the network? –  dunxd Apr 15 '13 at 15:30
    
The off thing is if I plug the MacBook in then I can access it via the IP generated on the wired connection, the WiFi connection is still unreliable though. This does effectively resolve it but doesn't make any sense. –  artparks Apr 16 '13 at 11:39
    
That would indicate some kind of NAT/Firewall between your WiFi network and your wired network. To be honest, if plugging it into wired network works, then do that. Otherwise you need to understand how your WiFi network integrates with your wired network, which is beyond the scope of this question/conversation. –  dunxd Apr 16 '13 at 12:00
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.