Unable to do docker login from linux machine to nexus docker repository

i have installed free version of sonatype 3.x and created docker repo(allowed port-8142 for http and 8143 for https) to host my docker images, i am trying to do docker login from gitlab runner which has RHEL but facing issues.

  1. no route to host.
  2. server gave http response to https client.
  3. TLS handshake timeout.

I am struggling from quite some time and searched internet but no helpful artical found, please assist.

Rajat Mahto

Thanks is advance