• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

How do I configure NodeBB setup for Google Cloud VM?

Scheduled Pinned Locked Moved Solved Technical Support
4 Posts 2 Posters 1.5k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Yaşar Baturalp ArtarY Offline
    Yaşar Baturalp ArtarY Offline
    Yaşar Baturalp Artar
    wrote on last edited by Yaşar Baturalp Artar
    #1

    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"

    1 Reply Last reply
    0
  • DukeD Offline
    DukeD Offline
    Duke
    wrote on last edited by Duke
    #2

    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.

    Ubuntu (Recommended) - NodeBB Documentation

    favicon

    (docs.nodebb.org)

    <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>

    Yaşar Baturalp ArtarY 1 Reply Last reply
    1
  • Yaşar Baturalp ArtarY Offline
    Yaşar Baturalp ArtarY Offline
    Yaşar Baturalp Artar
    wrote on last edited by
    #3

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

    1 Reply Last reply
    0
  • Yaşar Baturalp ArtarY Offline
    Yaşar Baturalp ArtarY Offline
    Yaşar Baturalp Artar
    replied to Duke on last edited by
    #4

    @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.

    Ubuntu (Recommended) - NodeBB Documentation

    favicon

    (docs.nodebb.org)

    <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 🙂

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development