I was trying to access a REST endpoint (http://localhost:8080/api/v1/users) when all of a sudden, the below realization hit me.
http://localhost:8080/api/v1/users
http is assigned port 80,