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
JP Nikko AM SystemsJP Nikko AM Systems 

Unable to connect to Production through Eclipse IDE

Hi,
Whenever I try to connect to production through Force.com IDE, I get following error:

Unable to connect to hostname 'login.salesforce.com'
Invalid username, password , security tokem; or user locked out.

I'm able to connect through browser and I tried resetting the security token , changed the Proxy setting but not result.
Also, we're using a custom domain and SSO app to login.
However, I can login to Sandbox fine.
Please advise.
Khan AnasKhan Anas (Salesforce Developers) 
Hi,

Greetings to you!

Please check the Environment picklist, just choose Production/Developer Edition and it should work.

Also, try including your IP range in Security Control -> Network Access (it will help if IP range was enforced).

Please refer to the below links which might help you further with the above issue.

https://salesforce.stackexchange.com/questions/158131/problem-in-creating-force-com-project-on-eclipse

https://salesforce.stackexchange.com/questions/156695/force-ide-cant-login-to-production-account

https://salesforce.stackexchange.com/questions/34940/create-force-com-project-from-de-org

https://salesforce.stackexchange.com/questions/69643/unable-to-link-to-org-in-force-com-ide

https://developer.salesforce.com/forums/?id=906F0000000D6zoIAC

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas
JP Nikko AM SystemsJP Nikko AM Systems
Hi,

I tried those already but doesn't seem to work.
When I check the user log in SF, it says APEX login  -Password lockout although I can login through the browser..