Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Question

raspberry pi server

Aug 26, 2016 2:24PM PDT

Please help!!!! I have recently created a server using a raspberry pi 3, i am using it to host a small wordpress website. The problem i am having is i cannot access the site form outside my home network. If i am connected to my wifi at home the server is working no problem but if i try to access the site from my mobile phone network i'm getting a HTTP error 504, gateway timeout. As far as i can make out i have done everything correctly, i gave the pi a static ip address and gave my device a dynamic domain name I have also turned on port forwarding, apache2 installed and is running. When i ping pi from my pc while connected to my wifi i get a reply straight back no problem so i know the ip address is correct. Any help would be greatly appreciated.

Discussion is locked

- Collapse -
Clarification Request
Did you try putting the server into the router DMZ entry?
Aug 26, 2016 2:41PM PDT

You didn't share your PI's IP address. If it starts with 192 or 10 then that's not the internet IP.

Not only that but many ISP's block servers. As web master you have to know this.

- Collapse -
Thank you for the reply
Aug 26, 2016 2:54PM PDT

I didn't try putting the address into the DMZ entry. I will give it a try thank you. This is my first time to do this i am a 3rd year cs student using the pi for my final year project. I did have it working initially but when i went back to it a couple of days later i ran into this problem (I should have said this in my original post). Could this be a symptom of the ISP blocking the server maybe?? Again many thanks, much appreciated

- Collapse -
DMZ entry
Aug 26, 2016 3:02PM PDT

@R.Proffitt I tried adding the the PI's address to the DMZ but it is still not working. Thanks again

- Collapse -
Since I don't know your ISP
Aug 26, 2016 4:07PM PDT

And you didn't reveal any IPs, I can't really go any further. I mentioned the internal 192.x.x.x and 10.x.x.x but you didn't tell me I'm wrong. So to me this sounds like its either the ISP or you are trying to connect to the LAN IP and not your internet IP.