Networking & Wireless forum

Question

raspberry pi server

by plawlor5 / August 26, 2016 2:24 PM 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
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?
by R. Proffitt Forum moderator / August 26, 2016 2:41 PM PDT
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
by plawlor5 / August 26, 2016 2:54 PM 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
by plawlor5 / August 26, 2016 3:02 PM 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
by R. Proffitt Forum moderator / August 26, 2016 4:07 PM PDT
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
icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

CNET FORUMS TOP DISCUSSION

Help, my PC with Windows 10 won't shut down properly

Since upgrading to Windows 10 my computer won't shut down properly. I use the menu button shutdown and the screen goes blank, but the system does not fully shut down. The only way to get it to shut down is to hold the physical power button down till it shuts down. Any suggestions?