Skip to content

Same Port like Webserver #404

Answered by 255kb
Peter-Stern asked this question in Help
Jan 14, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Peter-Stern
Comment options

Answer selected by Peter-Stern
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants