Docker push command not working on nexus

I get this error at the end “denied: requested access to the resource is denied”
I just followed the steps on pushing an image to a nexus repository. I perform docker login fist and then docker build, docker tag, docker push. May i know if this has something to do with the ports? Please let me know for updates.