Cloud Global

Cloud Global

Our mission is to provide clients with an online user community of industry peers and IBM experts, to exchange tips and tricks, best practices, and product knowledge. We hope the information you find here helps you maximize the value of your IBM Cloud solutions.

 View Only
  • 1.  How do I open more port on a Cloud Foundry App

    Posted Mon February 22, 2021 10:45 AM
    Hello,
    I have a Node-Red instance setup on Cloud Foundry. In Node-Red, I've installed the node-red-contrib-aedes MQTT broker and it works if I connect nodes to in via localhost on port 1883. I need to expose port 1883 to the world. How do I do that?
    Thanks!


    ------------------------------
    Paul Sems
    ------------------------------


  • 2.  RE: How do I open more port on a Cloud Foundry App

    Posted Thu April 15, 2021 11:20 AM
    I have the same question, too.

    ------------------------------
    Kate Hersh
    ------------------------------



  • 3.  RE: How do I open more port on a Cloud Foundry App
    Best Answer

    Posted Fri April 16, 2021 12:42 PM
    Edited by Sofia Losada Thu April 22, 2021 11:29 AM
    This is not supported in IBM Cloud Foundry Public, only TCP routing is supported. The Node Red "MQTT broker" running inside a node-red app will not work with only incoming TCP routing. Basic functions of node-red will work but not "hosting" this broker in the app.

    Examples of supported Node-red function is something like this => https://cloud.ibm.com/developer/appservice/create-app?starterKit=59c9d5bd-4d31-3611-897a-f94eea80dc9f and related to this Github https://github.com/IBM/node-red-app and this Developer blog https://developer.ibm.com/components/node-red/tutorials/how-to-create-a-node-red-starter-application and a video included.

    ------------------------------
    Carl Swanson
    SW Engineer
    IBM
    ------------------------------