Solved the issue.
There was an issue with Windows System settings.
Steps to solve the issue:
Go to Windows' Settings >> Network & Internet >> Proxy Go to Automatic proxy setup >> Make 'Automatically detect settings' to off.
Now this works for me.
Thanks