Hi Suhas,
Good news that it's now working fine.
I don't know why it would suddenly fix itself, the defect is when the entry URL is not set properly. The jobs should not have had any impact on how it connects.
My only thought would be that you may have changed the parameters in the properties.xml file or on the load balancer earlier, and then on the next day restart was performed, and those parameters were taken into consideration.
Kind Regards
Nika Hadzhikidi
CA Technologies
Principal Support Engineer