Running 2 Strapi applications simultaneously on single machine

I want to run 2 strapi applications simultaneously on my local machine. I have changed port of one of the applications to 1338 (default is 1337), so that there won’t be conflict. But when I try to run 2nd application, it gives error that port 5173 is already in use. Does anyone know about this and how to fix it?