We have a number of projects that use http-server and Express to server different project components on different ports i.e.: user interface on 8080 and some API on 4040.
Now, I often have a number of different projects running at a time and these all want to use 8080 for their user interface and 4040 for their APIs.
Does http-server (https://www.npmjs.com/package/http-server) have a default process for selecting alternative ports? And if not, can anyone suggest an npm package to offer that?
Ultimately I want: Project one UI 8080 and API 4040 and project two UI 8081 and API 4041. Or something similar.
Cheers!
via James
No comments:
Post a Comment