DEV Community

Discussion on: Building authentication for microservices using NestJS

Collapse
 
nigeltran profile image
nigeltran

Hi,

Thanks for the article, it is very helpful. I just wonder if you can use same port for app and service like the example above? I tried that settings, but got error that port 3000 is already taken. Do you know how to config it to the same port?

Thanks!

Thread Thread
 
alesanchez profile image
Ale Sánchez

Oops... I made a mistake there, you cannot configure both things in the same port because, as you said, it's going to throw an error because the port has been already taken. I edited the comment. Sorry.