• 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

No IP binding possible: glooming on 0.0.0.0

Scheduled Pinned Locked Moved Technical Support
6 Posts 3 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.
  • H Offline
    H Offline
    HerrDirektor
    wrote on last edited by
    #1

    No matter what I write into config.json, nodeBB keeps glooming on 0.0.0.0. I have tried
    "url": "http://127.0.0.1"
    "url": "127.0.0.1"
    "url": "http://127.0.0.1:4568"
    "url": "127.0.0.1", "port": "4568"
    "bind_address": "127.0.0.1"

    I have to bind to a local IP, because I am behind an NGINX proxy.

    Read the docs, searched the forum, any hints what to try next?

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #2

    @HerrDirektor said:

    "bind_address": "127.0.0.1"

    This should work, no? What is the expected behaviour, and what happens with that value in config.json?

    H 1 Reply Last reply
    0
  • H Offline
    H Offline
    HerrDirektor
    replied to julian on last edited by
    #3

    @julian It does not work. With all the different options I end up with nodebb binding to 0.0.0.0 It gets the port right and if I change the port and restart it will bind to the correct port, but always to 0.0.0.0, no matter what I set as IP.

    PitaJP 1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    replied to HerrDirektor on last edited by PitaJ
    #4

    @HerrDirektor so you don't want to be able to access your site via port 4568, correct? You want everything to go through Nginx, right?

    H 1 Reply Last reply
    0
  • H Offline
    H Offline
    HerrDirektor
    replied to PitaJ on last edited by
    #5

    @pitaj not on any incoming connection. I just solved it. When I set url to http://127.0.0.1 AND bind_address at the same time, then it works. Setting just one does not. Weird behaviour IMHO. Thanks for the help anyway!

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #6

    The two options are not mutually exclusive, Herr Direktor. 😄

    Bind address should be your local ethernet interface. Set it to 127.0.0.1 if you only wish to have the machine itself access it (or reverse proxy via nginx).

    url is just used by NodeBB when it needs to refer to itself as a URL.

    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