How do I configure NodeBB setup for Google Cloud VM?

Solved Technical Support
  • Hello,

    I'd like to set-up NodeBB on my Google Cloud VM which runs Ubuntu 16 bun there are some things that I could not found out for hours. What are the ports and URL's that I should be using for Google Cloud? Everytime I try, I face connection refuses.

    I can create the website by using 127.0.0.1 IP but the connection is refused by google's internal IP

    "url": "I typed here my domain which is connected to Google's external IP",
    "secret": "the key",
    "database": "mongo",
    "mongo": {
    "host": "Google's internal IP",
    "port": "I couldnt find this out?",
    "username": "Is this the nodebb user or the user I created for admin database?",
    "password": "Password",
    "database": "nodebb"

  • If you cannot answer these questions yourself then I suggest you install virtualbox on your local machine and get nodebb working locally but following the docs below. Once you are successful with this, you will have learned alot and can then try and deploy on Google infrastructure.

    I know you want to deploy straight to production but my way will be quicker in the long run. The next question you will have will be regarding NGINX and how to get it running on port 80. The answers to all your questions are in the docs. The docs are very easy to follow.

    <quote>
    I can create the website by using 127.0.0.1 IP but the connection is refused by google's internal IP
    (127 is a local ip, you need to provide your internet IP here)

    "url": "I typed here my domain which is connected to Google's external IP",
    "secret": "the key",
    "database": "mongo",
    "mongo": {
    "host": "Google's internal IP", (should be 127.0.0.1)
    "port": "I couldnt find this out?", (4567)
    "username": "Is this the nodebb user or the user I created for admin database?", (nodebb user)
    "password": "Password", (mongo password for Nodebb database)
    "database": "nodebb"
    </quote>

  • Will do now, thanks. I'll write back the news.

  • @duke said in How do I configure NodeBB setup for Google Cloud VM?:

    If you cannot answer these questions yourself then I suggest you install virtualbox on your local machine and get nodebb working locally but following the docs below. Once you are successful with this, you will have learned alot and can then try and deploy on Google infrastructure.

    I know you want to deploy straight to production but my way will be quicker in the long run. The next question you will have will be regarding NGINX and how to get it running on port 80. The answers to all your questions are in the docs. The docs are very easy to follow.

    <quote>
    I can create the website by using 127.0.0.1 IP but the connection is refused by google's internal IP
    (127 is a local ip, you need to provide your internet IP here)

    "url": "I typed here my domain which is connected to Google's external IP",
    "secret": "the key",
    "database": "mongo",
    "mongo": {
    "host": "Google's internal IP", (should be 127.0.0.1)
    "port": "I couldnt find this out?", (4567)
    "username": "Is this the nodebb user or the user I created for admin database?", (nodebb user)
    "password": "Password", (mongo password for Nodebb database)
    "database": "nodebb"
    </quote>

    Done 🙂


Suggested Topics


  • Upgrading NodeBB to v1.18.6

    Unsolved Technical Support
    0 Votes
    3 Posts
    261 Views

    Hi, after upgrading nodebb to v1.18.6 , dropdowns are not able show categorys..nodebb.jpeg nodebb 2 (2).jpeg

  • 0 Votes
    1 Posts
    158 Views

    Hello,
    I was installing NodeBB today and I after a successful install, I tried running nodebb start only for the nodejs script to pop up and the code to crash. This was in my nodebb log :
    NodeBB Error.PNG
    I couldn't find anything questions similar my issue and any help would be appreciated.

  • 0 Votes
    22 Posts
    2k Views

    If you click clear index on the ACP page for the plugin and then reindex it should only reindex the category not excluded.

  • 0 Votes
    8 Posts
    2k Views

    @shery11 not yet 🙂 how about you ?

  • 0 Votes
    12 Posts
    5k Views

    Hi,

    As much as I'd like to say this was helpful, it wasn't. The most help I got was from the guy who told me how to open the folder.

    With that being said, I am nowhere near. The main cause of this is probably me and I blame myself for that. I will be now hoping to get an Ubuntu Server from HostingItAll, and they will be helping me set up NodeBB!

    Thanks for all that you guys could do.

    Lewis