Have WiFi but still can't access OctoPrint from a web browser

What is the problem?
I'm unable to connect to OctoPrint from my windows 10 internet browser (using chrome) when the raspberry pi is connected to wifi. I'm using a Raspberry Pi 3 B. When I connect my raspberry pi to my laptop via ethernet I am able to access the web page. This whole time both my laptop and raspberry pi are connected to the same wifi.

What did you already try to solve it?
I tried the WiFi setup and troubleshooting guide and didn't see any related issues but hopefully this is a quick fix :slight_smile:

I have a keyboard and monitor plugged in for testing and can confirm that my raspberry pi is connected to the wifi and has access to the internet (able to ping www.google.com).

While only connected to wifi, I cannot access the OctoPrint web page using the two address provided: http://octopi.local or http://192.168.87.65 (wlan0)

I tried connecting my laptop to the raspberry pi via ethernet and rebooted the raspberry pi. I now see three address: http://octopi.local, http://169.254.241.135 (eth0), and http://192.168.87.65 (wlan0). I can connect to the OctoPrint web page using both octopi.local and eth0 but not the wlan0 address.

I've also tried to scan for the raspberry pi using Advanced IP Scanner and do not see the raspberry pi.

I have turned on SSH in the raspberry pi and can access from my laptop using putty over ethernet.

Logs
Are there relate logs?

Additional information about your network
Trying to connect from my Windows 10 laptop.
I'm not sure about the details of the router as I'm sharing it with my neighbor.
The Raspberry Pi is a Raspberry Pi 3 Model B V1.2 (2015) and I'm using the built in wifi.

1 Like

Do you perhaps have AP isolation enabled on your wireles router?
https://www.linksys.com/gb/support-article?articleNum=135098

Hey :slight_smile:

I tried connecting my laptop to the raspberry pi via ethernet and rebooted the raspberry pi. I now see three address: http://octopi.local, http://169.254.241.135 (eth0), and http://192.168.87.65 (wlan0). I can connect to the OctoPrint web page using both octopi.local and eth0 but not the wlan0 address.

The second address (169.*) on the eth0 is kind of an automatic address. It means that no server gave your Raspi an address. It's kind of normal, you can ignore it, I just think that the cable connection will not work unless you manage to wire the Pi to a connected network with a DHCP. If nothing about these make sense to you, just ignore this, we'll focus on the wifi. From now, I just assume you connected the Pi to your laptop with a cable; both are using this "automatic addressing" to get an IP Address and that's why you can do some things while using a cable. Am I wrong about this setup ?

You seem connected to the Wifi. The adress of you Pi looks good (192.168.87.65).

First check : would you mind looking at the IP address of your laptop, and check you're on the same subnetwork ? I'd bet it is a standard personnal network, so probably your laptop should have a 192.168.87.* address. If it not "87", we'll probably need the subnet mask (something usually like 255.255.255.0 or "/24" in home networks in general), both from your laptop and the Raspi.

Also, as a second check : as you get your hands on the raspi with a keyboard, maybe we can check is Octoprint is actually running ? For this, you need to type, in the terminal on a pi or via SSH : systemctl status octoprint.

(Hey, I'm sorry if you're an expert at this; basics checks, you may have done this before writing here, but as I'm unsure, I'm guiding you ;))

Cheers,
K.

Logged into my router. Found the Octopi, clicked edit. Changed it to reserved IP and it worked for me.