In a typical microservice application multiple instances of a service should run on different machines to achieve load balancing. If we want to run multiple instance on a single development machine then we cannot run them with above default because of the same port.

We can override this default as follows which generates random ID and port: