A while ago, I remember having to change from False to True in this AppSettings.json file to keep Code Project AI Server from using port 5000:
I set this to True, it doesn't have any effect.
tcp6 0 0 :::32168 :::* LISTEN 26967/dotnet
tcp6 0 0 :::5000 :::* LISTEN 26967/dotnet
(I also have the Disable IPv6 parameter set to true.That doesn't have any effect either.)
This is the /bin/codeproject.ai-server/server/appsettings.json file.
Am I changing the wrong file?
I'm using another program that conflicts with port 5000.
Infor *** STARTING CODEPROJECT.AI SERVER
Infor RUNTIMES_PATH = /usr/bin/codeproject.ai-server/runtimes
Infor PREINSTALLED_MODULES_PATH = /usr/bin/codeproject.ai-server/preinstalled-modules
Infor DEMO_MODULES_PATH = /usr/bin/codeproject.ai-server/src/demos/modules
Infor EXTERNAL_MODULES_PATH = /usr/bin/CodeProject.AI-Modules
Infor MODULES_PATH = /usr/bin/codeproject.ai-server/modules
Infor PYTHON_PATH = /bin/ubuntu/%PYTHON_NAME%/venv/bin/python3
Infor Data Dir = /etc/codeproject/ai
The /etc/codeproject/ai directory has a serversettings.json file that is empty. that might be from running the docker version a year ago.
Any ideas?
"ServerOptions": {
/ Whether or not to disable port 5000 (5500 on mac) so it's free for something else
"DisableLegacyPort": true,
I set this to True, it doesn't have any effect.
tcp6 0 0 :::32168 :::* LISTEN 26967/dotnet
tcp6 0 0 :::5000 :::* LISTEN 26967/dotnet
(I also have the Disable IPv6 parameter set to true.That doesn't have any effect either.)
This is the /bin/codeproject.ai-server/server/appsettings.json file.
Am I changing the wrong file?
I'm using another program that conflicts with port 5000.
Infor *** STARTING CODEPROJECT.AI SERVER
Infor RUNTIMES_PATH = /usr/bin/codeproject.ai-server/runtimes
Infor PREINSTALLED_MODULES_PATH = /usr/bin/codeproject.ai-server/preinstalled-modules
Infor DEMO_MODULES_PATH = /usr/bin/codeproject.ai-server/src/demos/modules
Infor EXTERNAL_MODULES_PATH = /usr/bin/CodeProject.AI-Modules
Infor MODULES_PATH = /usr/bin/codeproject.ai-server/modules
Infor PYTHON_PATH = /bin/ubuntu/%PYTHON_NAME%/venv/bin/python3
Infor Data Dir = /etc/codeproject/ai
The /etc/codeproject/ai directory has a serversettings.json file that is empty. that might be from running the docker version a year ago.
Any ideas?