Networking & Wireless forum


raspberry pi server

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
You are posting a reply to: raspberry pi server
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: raspberry pi server
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Clarification Request
Did you try putting the server into the router DMZ entry?

In reply to: raspberry pi server

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

In reply to: Did you try putting the server into the router DMZ entry?

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

In reply to: Thank you for the reply

@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

In reply to: DMZ entry

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.

Popular Forums

Computer Newbies 10,686 discussions
Computer Help 54,365 discussions
Laptops 21,181 discussions
Networking & Wireless 16,313 discussions
Phones 17,137 discussions
Security 31,287 discussions
TVs & Home Theaters 22,101 discussions
Windows 7 8,164 discussions
Windows 10 2,657 discussions


This one tip will help you sleep better tonight

A few seconds are all you need to get a better night's rest.