Try to access ip:4567 get ERR_CONNECTION_TIMED_OUT
-
@ssangyong-sports It looks like you haven't run
./nodebb setup
yet as per this guide -
@phenomlab I reinstalled and used ./nodebb setup and still got the error
-
@ssangyong-sports Can you post the content of
./nodebb log
? -
@phenomlab ```
2023-06-03T16:07:59.460Z [4567/5697] - warn: [plugins/load] The following plugin
s may not be compatible with your version of NodeBB. This may cause unintended b
ehaviour or crashing. In the event of an unresponsive NodeBB caused by this plug
in, run./nodebb reset -p PLUGINNAME
to disable it.- nodebb-rewards-essentials
2023-06-03T16:07:59.566Z [4567/5697] - info: [api] Adding 0 route(s)
toapi/v3/ plugins
2023-06-03T16:07:59.581Z [4567/5697] - info: [router] Routes added
2023-06-03T16:07:59.585Z [4567/5697] - info: NodeBB Ready
2023-06-03T16:07:59.586Z [4567/5697] - info: Enabling 'trust proxy'
2023-06-03T16:07:59.588Z [4567/5697] - info: NodeBB is now listening on: 0.0.
0.0:4567
2023-06-03T16:07:59.588Z [4567/5697] - info: Canonical URL: http://forum.mydomain.org:4567
- nodebb-rewards-essentials
-
get ERR_CONNECTION_TIMED_OUT
-
@ssangyong-sports can you provide the output of
config.json
? Also, is there a firewall between your machine and the server running NodeBB? As you are targeting a port it may not be open.Also, are you intending on using the URL in this way, or would you rather not have the port ? If so, you'll need a reverse proxy.
-
@phenomlab this is my config.json
{ "url": "http://forum.mydomain.com:4567", "secret": "e22740ad-aa45-4602-b192-0886a242c2cb", "database": "mongo", "mongo": { "host": "127.0.0.1", "port": "27017", "username": "admin", "password": "", "database": "nodebb", "uri": "" }, "port": "4567"
-
@phenomlab How to open the port?
-
@ssangyong-sports said in Try to access ip:4567 get ERR_CONNECTION_TIMED_OUT:
"url": "http://forum.mydomain.com:4567"
Are you intending to use this as the URL to access NodeBB or should it be http://forum.mydomain.com without the port? If that is the case, you will need a reverse proxy.
In terms of the port, I'd need more information about where this site is being hosted before I can comment.
-
@phenomlab I host on azure
Ps:So there is no error in my nodebb installer -
@ssangyong-sports you should check the firewall there. I do not expect port
4567
to be open by default. -
@phenomlab Thank you(≧ω≦)/,I open it and it work.
-