function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Satish RamananSatish Ramanan 

Not able to login to IDE

Hi, I am not able to login to com ide for my Sandbox org. I am able to login into my sandbox through browser with same credentials. Tried to login by resetting my security token also. But still couldnt get it.


The error getting shown is,


Unable to connect to hostname ''

Inavlid username, password, security token; or user locked out.

Please verify and/or change your credentials.


You will get more information if you look at the login history of your app.

If there is no record for your login attempt, this will be an endpoint issue (example: no access from your ide whereas you are using a proxy with your browser) or a bad username

If you see the record, you will get the detail of the failed attempt

Karthik TathiReddyKarthik TathiReddy


This happens when your IDE version is lower than your Salesforce account. Update your IDE to the latest version and try logging into IDE in eclipse. Otherwise delete the current Project and create new project with your new security token. This process might work.....

Tanvir AnsariTanvir Ansari
Did it get resolved? How are you trying to login? Are you using IDE from firewall?


Based on message 

- I don't think its a communication error, your IDE is able to communicate with Salesforce.

- I don't think it has anything to do with IDE version



- Execute command

   C:\>telnet 443

This will confirm if you are able to communicate with server from command line, if you are using authenticated HTTP proxy like ISA, you will need to make sure you have ISA client installed.


Make sure that you are not doing obvious mistake of not ending your username with sandbox name, so consider if your username is on production, The same on your Sandbox with name demo will be


- If you have doubt on your security token, login on to Sandbox and update the user profile to set IP range as to, so that you will not require to pass security token during login and hence only username, password will be sufficient.