Same Port like Webserver #404
-
Hi |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @PeterSt78, the ports on your machine can only be used by one app at a time. |
Beta Was this translation helpful? Give feedback.
Hi @PeterSt78, the ports on your machine can only be used by one app at a time.
The easiest thing to do is to use Mockoon as a proxy. Like this, you will be able to mock new/missing endpoints in Mockoon, and redirect to your existing web server. Still, you will have to either run Mockoon on port 81, and change your web server port to something else, or run Mockoon on another port (e.g. 3000), and proxy to your web server on port 81. But then, you would have to change the port in your frontend.