openKB icon indicating copy to clipboard operation
openKB copied to clipboard

change root url and port

Open jirohshem opened this issue 4 years ago • 3 comments

How can we change the default http://127.0.0.1:4444/ ? and the port.

jirohshem avatar Nov 25 '20 02:11 jirohshem

The port and IPAddress are configured with environment variables, if you want to use DNS then you need to add an A-record pointing to the servers IPAddress and then you can use it instead of the ip address.

PORT sets the port that the service is listening on, defaults to 4444 BIND sets the listening address of the service, defaults to 0.0.0.0 meaning that it listens to all addresses on the server.

Tagnard avatar Jan 03 '21 10:01 Tagnard

Hello Tagmard, in my case I would like to change the port where the openKb service is working. In this case, it comes as port 4444 as a default. I would like to know if it is possible to change to, for example: 4443 if yes, I would like you to demonstrate, step by step, how I can do it. For example: open the file tal and change the term xxx to xxx. Thank you very much in advance

rf-alvs avatar May 11 '21 18:05 rf-alvs

Disregarding the message sent, I was able to solve the problem. Open the app.js file with notepad ++ and I just changed the port from 4444 to 4443 as I wanted.

rf-alvs avatar May 11 '21 18:05 rf-alvs