How do I access octoprint from outside my network??

Have questions or comments about Simplify3D, Slic3r, Cura, Reptier, etc? Or wondering about which CAD software to use...discuss it here...
Post Reply
User avatar
Farr0wn3d
Posts: 319
Joined: Tue Mar 31, 2015 4:16 am
Location: Calgary, Alberta, Canada

How do I access octoprint from outside my network??

Post by Farr0wn3d » Sun May 15, 2016 1:22 am

I have a Pi 3 and I have octoprint running on it and I can access it from my own network, but I want to be able to access it from my phone and monitor it when I'm not home. Does anyone know how to do this??

User avatar
tks546
Posts: 43
Joined: Thu May 05, 2016 4:20 am
Location: Springfield, Illinois

Re: How do I access octoprint from outside my network??

Post by tks546 » Sun May 15, 2016 1:33 am


User avatar
sthone
Posts: 897
Joined: Tue Jul 08, 2014 8:25 pm
Location: Connecticut
Contact:

Re: How do I access octoprint from outside my network??

Post by sthone » Sun May 15, 2016 1:35 am

I don't exactly know how to do it but I'm pretty sure you have to allow port forwarding on your router.
____________________________________________________
See my projects at https://www.theneverendingprojectslist.com

User avatar
Farr0wn3d
Posts: 319
Joined: Tue Mar 31, 2015 4:16 am
Location: Calgary, Alberta, Canada

Re: How do I access octoprint from outside my network??

Post by Farr0wn3d » Sun May 15, 2016 4:43 am

I've read that but I dont know what that is or how to do it. I have an apple airport extreme router if that helps? lol

jsc
Posts: 1864
Joined: Thu Apr 10, 2014 4:00 am

Re: How do I access octoprint from outside my network??

Post by jsc » Sun May 15, 2016 5:12 am

Here is a tutorial on setting up port forwarding with an Apple Airport Extreme. If that doesn't work for you, google "airport extreme port forwarding".

https://www.rainmachine.com/support/por ... -HTTPS.pdf

You will want some form of dynamic DNS set up so you can refer to your IP address from the outside using a nice name instead of an IP address which can change from time to time. I like duckdns.org because it's free, but you must figure out how to set it up yourself. There are instructions on that site on how to install it in various systems.

From some half hearted searches, it looks like Airport Extreme routers will do what is called "NAT loopback" or "hairpin routing", which means you can use your external IP address/port to access your machine even from inside your network. So you should be able to access, say, http://farrown3d.duckdns.org:5000/ from both inside and outside your network and have it end up at the same place. Good luck! If you have any specific questions, I may be able to help.

User avatar
Farr0wn3d
Posts: 319
Joined: Tue Mar 31, 2015 4:16 am
Location: Calgary, Alberta, Canada

Re: How do I access octoprint from outside my network??

Post by Farr0wn3d » Sun May 15, 2016 5:17 am

PERFECT! thanks JSC thats exactly what I needed!

User avatar
willnewton
Posts: 479
Joined: Wed Apr 09, 2014 8:32 pm

Re: How do I access octoprint from outside my network??

Post by willnewton » Mon May 16, 2016 1:51 pm

Man, I wish I had that instruction PDF when setting mine up!

I use MotioneyesOS on Raspi 2's to monitor my printer and set up my Airport for external access in a similar way to the PDF.

It seems a bit complicated, but after you have done it once, it's not hard to add more.
I'm finally back to where I started two days ago!

A thread with some stuff in it I update every once in a while. viewtopic.php?f=8&t=9
See some of my stuff http://www.thingiverse.com/willnewton/favorites

Post Reply