Can't access http://octopi.local on mobile phone web browser

What is the problem?
Using my android phone + chrome, I go to webpage http://octopi.local results in error

What did you already try to solve it?
I know I can access via IP address
but want to know if there a way to access it using the domain name instead of the IP

or if I can change .local to something else that the mobile phone browser can open.

Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, octoprint.log, serial.log or output on terminal tab, ...)

short version, android chrome doesn't support it.

1 Like

What is the reason why it doesn't open .local domains?

Can I change the .local domain name to something else android chrome can open?

Or if there is a router based hack or something else to do so I don't need to use the IP address?

It is more preferable to use the domain name since IP can change and I just need to bookmark one domain name etc..

Read the link; it's because octopi.local isn't a real dns entry. It's sort of an agreement between devices that hasn't made it to all operating systems.

You can set your octopi instance to have a static IP, for one.

yeah I read some of the stuff in the link you posted
but your explanation is more simple to understand.

So basically I can only do is wait/provide feedback for Android OS to implement this feature?

Yeah I know about setting a static IP for the octopi
but I was wondering if we can pair that IP with a domain name in the router?

In the router, there is the static lease section which has a hostname (we can input a name)..
So can I make that hostname accessible by the webpage instead of the static IP?

You could purchase a domain name like mydomain.com, issue a DNS A record of octopi to that with your private IP address and then use your Android's browser to surf over to http://octopi.mydomain.com . I know, way expensive.

Or just http://192.168.1.15/ or whatever.

If you happen to be using Pi-Hole, since version 5.0 you can use custom Local DNS Records... and if you assign the IP of your pi to "octopi.local" it will work on your Android device.

image

You don't need to purchase a domain name. If the phone can reach the RPi via IP address then you just have to add an entry to the DNS server that the DHCP server supplied to the phone. If the DHCP server isn't supplying a local DNS server, then it needs to.

My home network is morgan.local and the DHCP server is also the DNS server for that domain. The DHCP server adds a DNS entry when it responds to my RPi named octopi request for an IP address.

1 Like

hi, i think i have the same problem, i installed octoprint android, it works if i'm under the same wifi network, but i can't reach the printer if i'm away from home. what should i configure?

It's not really the same problem.

Op wasn't able to open the url in his local network.

Your problem isn't really a problem - it's how thinks work. Your router separates your local network from the internet. If that wasn't the case anyone could connect to the devices in your network and we don't really want that ^^

There are different ways to connect to your OctoPrint server from the internet:

Also a list of related plugins

If you have further questions please create a new thread :slight_smile:

thanks, can they be used with the octoremote app?
always if it is the official octoprint app

There is no official OctoPrint app, OctoRemote is just one of the 3rd party apps available. Where did you get this idea? I wonder if there is a video/tutorial somewhere that says this... Because you are not the only one.

OctoEverywhere can support mobile apps (see the details on the website, you may have to pay for that). The Spaghetti Detective works with OctoApp as well. So some of them do, some of them provide their own UI/interface to use.