From cb8a900d844d951b37859e46d9fa83b284c9aaf7 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 19 Jan 2026 11:20:25 -0500 Subject: [PATCH] PeaNUT: change default port (#10962) --- ct/peanut.sh | 2 +- frontend/public/json/peanut.json | 2 +- install/peanut-install.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ct/peanut.sh b/ct/peanut.sh index 4799e4d69..43fb27da2 100644 --- a/ct/peanut.sh +++ b/ct/peanut.sh @@ -70,4 +70,4 @@ description msg_ok "Completed successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:3000${CL}" +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080${CL}" diff --git a/frontend/public/json/peanut.json b/frontend/public/json/peanut.json index 053798789..ca558b09b 100644 --- a/frontend/public/json/peanut.json +++ b/frontend/public/json/peanut.json @@ -8,7 +8,7 @@ "type": "ct", "updateable": true, "privileged": false, - "interface_port": 3000, + "interface_port": 8080, "documentation": "https://github.com/Brandawg93/PeaNUT/blob/main/README.md", "website": "https://github.com/Brandawg93/PeaNUT/", "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/peanut.webp", diff --git a/install/peanut-install.sh b/install/peanut-install.sh index f71c8c3be..5fa4cbaf3 100644 --- a/install/peanut-install.sh +++ b/install/peanut-install.sh @@ -31,7 +31,7 @@ mkdir -p /etc/peanut/ ln -sf .next/standalone/server.js server.js cat </etc/peanut/settings.yml WEB_HOST: 0.0.0.0 -WEB_PORT: 3000 +WEB_PORT: 8080 NUT_HOST: 0.0.0.0 NUT_PORT: 3493 EOF @@ -52,7 +52,7 @@ Environment="NODE_ENV=production" #Environment="NUT_HOST=localhost" #Environment="NUT_PORT=3493" #Environment="WEB_HOST=0.0.0.0" -#Environment="WEB_PORT=3000" +#Environment="WEB_PORT=8080" WorkingDirectory=/opt/peanut ExecStart=node /opt/peanut/entrypoint.mjs TimeoutStopSec=30