MQTT server application

server

#1

The “Run an Application” document describes that my server application must listen to 0.0.0.0 ($IP) and 8080 ($PORT), 8081 or 8082, then gives a reference URI as http://-.c9users.io.

Is the HTTP protocol enforced?

Specifically, I hope to host a small MQTT server in c9. I am happy to use one of these ports but obviously this would use the MQTT protocol, not HTTP. Would this work?


#2

I don’t know much about MQTT but I think this would only work with http. Basically, when you run your application, Cloud9 takes what’s running (I think over http) on port 8080 and then proxys it to your application preview so MQTT will likely not work.