How do I setup the following :

Web Server : react + typescript application using npm - http://server1:19000/enter

Backend Server : Springboot http://server2:20000/api

I am using webpack to build the react application and springboot using mvn

Os : Windows

1 Answers

Edison Junior On

in on springBoot you can set

server.port = 8090

With react you can set the port

webpack-dev-server --host --port 80

it's the most easier way to set port, if you google a little you will find another ways.

i hope it usefull