Added a local host entry (qs.mycompany.com) in the qliksense server. ( host file changes locally)
When try to access the hub it works fine and QMC is prompting for username and password and failing with the error, Though I am passing the correct credentials.
At the same time when I try the same with hostname, IP address and localhost it works fine with out any issues.
Same URL works fine when accessing from other servers.