brockayers
Posts: 19
Joined: Mon Jan 30, 2017 7:49 pm
Location: West Bend, Wi, USA

Accessing Pi from outside network

Sun Jun 24, 2018 4:26 am

So i havent brewed in a year. I had my pi setup through my router that I could access it via port forwarding with a <pi ip address>:<port number i created>. It used to work, but now when i try to access it that way, it says "This site can’t be reached
<pi address> refused to connect."
What is happening??

klricks
Posts: 7172
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Accessing Pi from outside network

Sun Jun 24, 2018 4:47 am

brockayers wrote:
Sun Jun 24, 2018 4:26 am
So i havent brewed in a year. I had my pi setup through my router that I could access it via port forwarding with a <pi ip address>:<port number i created>. It used to work, but now when i try to access it that way, it says "This site can’t be reached
<pi address> refused to connect."
What is happening??
Maybe your public IP and/or your local IP has changed.
Many ISP's block ports so that their customers can't run web servers and such.
Try an on-line port scan tool to see if your port(s) are still open: http://www.t1shopper.com/tools/port-scan/
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

brockayers
Posts: 19
Joined: Mon Jan 30, 2017 7:49 pm
Location: West Bend, Wi, USA

Re: Accessing Pi from outside network

Sun Jun 24, 2018 4:54 am

klricks wrote:
Sun Jun 24, 2018 4:47 am
Maybe your public IP and/or your local IP has changed.
Many ISP's block ports so that their customers can't run web servers and such.
Try an on-line port scan tool to see if your port(s) are still open: http://www.t1shopper.com/tools/port-scan/
Do I leave the ip as default? If so, it says it isnt responding on port 80

klricks
Posts: 7172
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Accessing Pi from outside network

Sun Jun 24, 2018 5:16 am

brockayers wrote:
Sun Jun 24, 2018 4:54 am
klricks wrote:
Sun Jun 24, 2018 4:47 am
Maybe your public IP and/or your local IP has changed.
Many ISP's block ports so that their customers can't run web servers and such.
Try an on-line port scan tool to see if your port(s) are still open: http://www.t1shopper.com/tools/port-scan/
Do I leave the ip as default? If so, it says it isnt responding on port 80
The public IP that the on-line port scanner shows the current IP which you need to use. The port to use is whatever port you configured in your router. The default for HTTP is 80 but you could have configured something different.

On the local side if you did not configure the RPi for static IP then that IP might have changed as well. Look in the device list in your routers config pages.
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

brockayers
Posts: 19
Joined: Mon Jan 30, 2017 7:49 pm
Location: West Bend, Wi, USA

Re: Accessing Pi from outside network

Sun Jun 24, 2018 5:43 am

klricks wrote:
Sun Jun 24, 2018 5:16 am
The public IP that the on-line port scanner shows the current IP which you need to use. The port to use is whatever port you configured in your router. The default for HTTP is 80 but you could have configured something different.

On the local side if you did not configure the RPi for static IP then that IP might have changed as well. Look in the device list in your routers config pages.
The port forwarding data is as follows:
Application name: Raspberry Pi
External port: private number
Internal port: 80
Protocol:TCP

I checked the ip of my pi and its still the same as its always been. Im not too tech savvy, but ill try to figure it out if you can bear with my ignorance

Return to “Troubleshooting”