Cing Sian Dal
Cing Sian Dal

Oct 12, 2021

·
1 min read

pm2 start for next start with different port

If you want to run your server-side NextJS with pm2 and different port, run this:

pm2 start npx --name "nextjs" -- next -p 3003
Nextjs
Pm 2

--

--

More from Cing Sian Dal

Don’t follow me. I wrote junks here. Follow me on Twitter instead.

Recommended from Medium

Hope Fourie

Hope Fourie

Successfully Integrating Phaser 3 into your React/Redux App (Part 3)

Jay Chow

Jay Chow

in

JavaScript in Plain English

Top 10 VS Code Extensions Must Use as Junior JavaScript Developers

Saar Twito

Saar Twito

What is JSON Web Token?

Wendy de Kock

Wendy de Kock

in

JavaScript in Plain English

I Switched From Apollo To Urql (And It Was Worth It)

MH HABIB

MH HABIB

Fundamental Concepts of React.js

Sandy Lo

Sandy Lo

How to add a toggle button to show different results in JavaScript

Mike Chung

Mike Chung

Implementing a finite state machine in Cycle.js

Abhishek Vishwakarma

Abhishek Vishwakarma

API to post your Front-end data to Google sheets using Node script

API Test Demo

AboutHelpTermsPrivacy


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Get unlimited access
Cing Sian Dal

Cing Sian Dal

59 Followers

Don’t follow me. I wrote junks here. Follow me on Twitter instead.

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech