Forums

OSError: [Errno 101] Network is unreachable for Outllook IMAP

Hi, I am trying to connect to outlook imap from a pythonanywhere but I am getting "OSError: [Errno 101] Network is unreachable"

IMAP server: outlook.office365.com Port: 993

It's showing as allowed in the whitelist so not sure if the port 993 is the problem. Currently I am on a free account. Is that the problem? Also, will outlook imap & imaps for other sites work fine on a paid account?

Free accounts have restricted internet access -- you can consider upgrading, if you want to use Outlook, or have a look at alternatives mentioned here.