Forums

Clarification :: ability of MQTT Client to run on PythonAnywhere

Hi -

I'm back! I was off Pythonanywhere for a while, missed it, and I'm back now hopefully with a project or two.

One project is I need to set up an MQTT client, to connect to a broker at HiveMQ. The purpose of my code is to watch (over MQTT) some data coming in and to log it to JSON. In searching the forums, it wasn't clear to me if a paid account is able to run an MQTT client, or if there is some limitation with ports.

Can someone clarify if they are successfully running something like Paho-MQTT?

Thank you.

You should be able to connect to an MQTT broker hosted outside PythonAnywhere from a paid account.

Great - thank you for the quick response! Once the physical system is in, I'll make the jump to paid account to get my development underway.

Grand! Let us know if you have any extra questions.

hi, is there any knowledge base document so i can go with paid account, i just need confirmation so that i can go with paid account for mqtt , i have mqtt hosted on external server and i want to host django in pythonanywhere, and internal client will connect with that client example : mqtt from eclipse, is it possible , if yes can i get any refrence link from official pythonanywhere

@ajinkyaK I see you already upgraded -- all paid accounts have unrestricted internet access, so you should be able to connect with any external service (unless, for some reason, that service would block our servers).