[object Object]

← back to Designersalesreps

reassign primary port 9901->9905 (Kamatera 9901 taken)

90bd32be0533aec904a4eba59ba9140fa9ef9308 · 2026-07-27 14:58:01 -0700 · Steve Abrams

Files touched

Diff

commit 90bd32be0533aec904a4eba59ba9140fa9ef9308
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Mon Jul 27 14:58:01 2026 -0700

    reassign primary port 9901->9905 (Kamatera 9901 taken)
---
 .deploy.conf                                | 2 +-
 deploy-kamatera.sh                          | 4 ++--
 docs/nginx-vhost-designersalesreps.com.conf | 2 +-
 ecosystem.config.js                         | 2 +-
 server.js                                   | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/.deploy.conf b/.deploy.conf
index 8db8695..3a9ecb6 100644
--- a/.deploy.conf
+++ b/.deploy.conf
@@ -1,4 +1,4 @@
 PROJECT_NAME=designersalesreps
 DEPLOY_PATH=/root/Projects/designersalesreps
 HEALTH_URL=https://designersalesreps.com/health
-PORT=9901
+PORT=9905
diff --git a/deploy-kamatera.sh b/deploy-kamatera.sh
index 48fabc0..fe7cd44 100644
--- a/deploy-kamatera.sh
+++ b/deploy-kamatera.sh
@@ -6,7 +6,7 @@ set -euo pipefail
 REMOTE=root@45.61.58.125
 LOCAL_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
 REMOTE_DIR=/root/Projects/designersalesreps
-HEALTH_URL=http://127.0.0.1:9901/health
+HEALTH_URL=http://127.0.0.1:9905/health
 
 echo "==> Syncing to $REMOTE:$REMOTE_DIR"
 rsync -az --delete \
@@ -33,4 +33,4 @@ ssh "$REMOTE" "curl -sf $HEALTH_URL" && echo "PASS: origin direct" || { echo "FA
 echo "==> Verifying CF-proxied (HTTPS)"
 curl -sf https://designersalesreps.com/health && echo "PASS: CF proxied" || echo "WARN: CF not yet routed (DNS pending?)"
 
-echo "==> Done. designersalesreps.com is live on :9901"
+echo "==> Done. designersalesreps.com is live on :9905"
diff --git a/docs/nginx-vhost-designersalesreps.com.conf b/docs/nginx-vhost-designersalesreps.com.conf
index 4c9ad99..36127e3 100644
--- a/docs/nginx-vhost-designersalesreps.com.conf
+++ b/docs/nginx-vhost-designersalesreps.com.conf
@@ -35,7 +35,7 @@ server {
     real_ip_header CF-Connecting-IP;
 
     location / {
-        proxy_pass http://127.0.0.1:9901;
+        proxy_pass http://127.0.0.1:9905;
         proxy_http_version 1.1;
         proxy_set_header Host $host;
         proxy_set_header X-Real-IP $remote_addr;
diff --git a/ecosystem.config.js b/ecosystem.config.js
index a59ef7c..d61fd52 100644
--- a/ecosystem.config.js
+++ b/ecosystem.config.js
@@ -4,7 +4,7 @@ module.exports = {
     script: 'server.js',
     cwd: '/root/Projects/designersalesreps',
     env: {
-      PORT: 9901,
+      PORT: 9905,
       NODE_ENV: 'production'
     },
     instances: 1,
diff --git a/server.js b/server.js
index afede64..4b2d15d 100644
--- a/server.js
+++ b/server.js
@@ -3,7 +3,7 @@ const express = require('express');
 const fs = require('fs');
 const path = require('path');
 const app = express();
-const PORT = process.env.PORT || 9901;
+const PORT = process.env.PORT || 9905;
 const DOMAIN = 'designersalesreps.com';
 
 app.use(express.json());

← 08f518f auto-save: 2026-07-27T14:51:27 (1 files) — package-lock.json  ·  back to Designersalesreps  ·  chore: v1.0.1 — go-live (CF-proxied, live on prod) 37ed884 →