[object Object]

← back to Atomic50 Onboard

pin PORT to 9964 (9942 taken by atomic50-viewer internal tool)

611fa5467d12761c9fbdef210c6f6aea964b231c · 2026-07-13 15:25:11 -0700 · Steve

Files touched

Diff

commit 611fa5467d12761c9fbdef210c6f6aea964b231c
Author: Steve <steve@designerwallcoverings.com>
Date:   Mon Jul 13 15:25:11 2026 -0700

    pin PORT to 9964 (9942 taken by atomic50-viewer internal tool)
---
 ecosystem.config.js | 7 +++----
 server.js           | 2 +-
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/ecosystem.config.js b/ecosystem.config.js
index 8f3ae79..fc96e42 100644
--- a/ecosystem.config.js
+++ b/ecosystem.config.js
@@ -1,7 +1,6 @@
 // Atomic 50 microsite — pm2 process definition.
-// PORT is PINNED to 9942 so restarts never bind a random ephemeral port
-// (which would break the nginx upstream). Matches server.js fallback + the
-// deploy memo's documented `pm2 start` line.
+// PORT is PINNED to 9964 (9942 is already used by atomic50-viewer internal tool).
+// Nginx upstream = 127.0.0.1:9964.
 module.exports = {
   apps: [
     {
@@ -10,7 +9,7 @@ module.exports = {
       cwd: __dirname,
       env: {
         NODE_ENV: 'production',
-        PORT: 9942,
+        PORT: 9964,
       },
       max_restarts: 10,
       autorestart: true,
diff --git a/server.js b/server.js
index 0281f92..d95b050 100644
--- a/server.js
+++ b/server.js
@@ -7,7 +7,7 @@ const express = require('express');
 const fs = require('fs');
 const path = require('path');
 
-const PORT = process.env.PORT || 9942;
+const PORT = process.env.PORT || 9964;
 const DATA = path.join(__dirname, 'data', 'products.json');
 
 const app = express();

← 9d456da atomic50 FIX 1+3: regen snapshot — Tin Ceiling Tile (29 on-s  ·  back to Atomic50 Onboard  ·  atomic50: Shopify push script — 56 DRAFT quote-only creates 547b483 →