Unable to access OctoPrint from Computer but can from phone

Thanks for all the help.

i also have this issue on my mac

Are you still able to login on a mobile device?

yes i can and am able to start a print from my phone

Do you have the OctoPi image or Octoprint on Raspbian?

Not able to connect this morning, here is the arp -a with a ping before and after from the mac.

PING 192.168.0.28 (192.168.0.28): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3

--- 192.168.0.28 ping statistics ---
5 packets transmitted, 0 packets received, 100.0% packet loss
(base) Deriks-Mac-8:~ derik$ arp -a
? (192.168.0.1) at 50:9:59:80:d6:81 on en0 ifscope [ethernet]
? (192.168.0.3) at 50:9:59:80:d6:82 on en0 ifscope [ethernet]
? (192.168.0.9) at 9c:e3:3f:63:af:b0 on en0 ifscope [ethernet]
? (192.168.0.19) at 4c:ef:c0:37:b6:ba on en0 ifscope [ethernet]
? (192.168.0.20) at 0:71:47:80:d0:ab on en0 ifscope [ethernet]
? (192.168.0.21) at 68:ef:43:6d:db:9 on en0 ifscope [ethernet]
? (192.168.0.24) at b8:e8:56:14:5b:6e on en0 ifscope permanent [ethernet]
? (192.168.0.28) at (incomplete) on en0 ifscope [ethernet]
? (192.168.0.255) at ff:ff:ff:ff:ff:ff on en0 ifscope [ethernet]
? (224.0.0.251) at 1:0:5e:0:0:fb on en0 ifscope permanent [ethernet]
? (239.255.255.250) at 1:0:5e:7f:ff:fa on en0 ifscope permanent [ethernet]
broadcasthost (255.255.255.255) at ff:ff:ff:ff:ff:ff on en0 ifscope [ethernet]
PING 192.168.0.28 (192.168.0.28): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3

--- 192.168.0.28 ping statistics ---
5 packets transmitted, 0 packets received, 100.0% packet loss

Here is the IPV4 information from netstat -nr

Routing tables

Internet:
Destination        Gateway            Flags        Refs      Use   Netif Expire
default            192.168.0.1        UGSc          106        0     en0       
127                127.0.0.1          UCS             0        0     lo0       
127.0.0.1          127.0.0.1          UH              3   328756     lo0       
169.254            link#5             UCS             0        0     en0      !
192.168.0          link#5             UCS             7        0     en0      !
192.168.0.1/32     link#5             UCS             1        0     en0      !
192.168.0.1        50:9:59:80:d6:81   UHLWIir        25       16     en0   1197
192.168.0.3        50:9:59:80:d6:82   UHLWIi          1       58     en0    546
192.168.0.9        9c:e3:3f:63:af:b0  UHLWIi          1       50     en0    743
192.168.0.19       4c:ef:c0:37:b6:ba  UHLWI           0       64     en0   1151
192.168.0.20       0:71:47:80:d0:ab   UHLWI           0       38     en0   1191
192.168.0.21       68:ef:43:6d:db:9   UHLWI           0       10     en0    142
192.168.0.24/32    link#5             UCS             1        0     en0      !
192.168.0.24       b8:e8:56:14:5b:6e  UHLWI           0        2     lo0       
192.168.0.28       link#5             UHLWI           0        5     en0      !
192.168.0.255      ff:ff:ff:ff:ff:ff  UHLWbI          0        9     en0      !
224.0.0/4          link#5             UmCS            2        0     en0      !
224.0.0.251        1:0:5e:0:0:fb      UHmLWI          0        0     en0       
239.255.255.250    1:0:5e:7f:ff:fa    UHmLWI          0       54     en0       
255.255.255.255/32 link#5             UCS             1        0     en0      !
255.255.255.255    ff:ff:ff:ff:ff:ff  UHLWbI          0        9     en0      !

You have a lot of cloned nonsense going on in your Mac's routing table. I'd suggest a reboot and then repeat the netstat from earlier.

If would be nice to see the output on your Mac for ifconfig.

It seems like I have the same problem, I am setting up my new printer with new raspbbery in addition to my current one which is working fine. I am experiencing same issues I can connect to the octoprint server from only some devices. Currently working only with my laptop on the same wifi network, but not working with phone on the same network and my pc connected by lan cable. On the reboot everything works fine but just in hour or so this happens.

Hello @draon7!

For the thread you just linked in is quite old and has no solution, I recommend to open a new thread with filling in as most information as possible that are asked for in the template when you open a new "Get Help" thread.

Story: So I got the same problem using a Windows PC to access OctoPrint on a Pi. After a couple of weeks using it almost 24/7 (printing really got me hooked) my PC couldn´t connect to the Webserver of the OctoPi. Strange thing was all other devices (Phone, Surface, Laptop, etc.) could connect without a problem.

Solution: Evetually I tried almost everything to get rid of the problem and got it solved with the netcfg -d command in CMD (run as admin).
The command clears all configurations on the network adapters (so just use if nothing important is configured on the device you are using). Hope it helps :slight_smile:

1 Like

You are not alone! My Windows 10 machine (with all the updates on both the Pi and the computer) randomly does this too. I can still monitor from the iOS app so that's something, but the computer just refuses to see Octopi when it feels like it. I can't even connect via SSH from the computer when this happens. I don't tend to do really long/big prints. So I just let me little job finish then reboot and get back to it.

Yes a reboot fixes it, and no that's not a solution (while actively printing anyway).

So I was having a similar issue: I could connect to Octoprint and the Pi from my main PC, suddenly but not my phone or spare PC after a fresh install of Octopi. My main PC was connected directly to the router via ethernet, and my phone and spare via wireless. While poking around in the router settings to double check IPs, I noticed both the 2.4Ghz band and the 5Ghz were the same SSID, whereas my previous router I could set them separately. I knew from previous experience setting up smart bulbs that my phone and my bulbs had to be on the same band in order to connect. I checked my router logs, and the Pi and my phone both appeared to be connecting to the 5Ghz band, but still wasn't accessible. That's when I noticed I could give each band a separate SSID, which I did by adding a 5 to the 5Ghz SSID and leaving the 2.4ghz as it was. This forced the Pi , spare PC, and my phone to use the 2.4Ghz band. For some reason this seemed to do the trick, and I'm now able to access Octoprint from all 3 devices.