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
bharath11rbharath11r 

Force.com IDE error cannot connect to www.salesforce.com

I am newbie to salesforce.com development and I am not able to connect using Force.com IDE or Eclipse with Force Plugin.

 

Everytime i try i get an error saying

 

Unable to connect to hostname 'www.salesforce.com'

Invalid username,pwd,security token or user locked out.

Please verify/change your credentials.

 

I just created my login yesterday and was able to create tabs and objects using browser but not with IDE.

 

I resetted by securtiy token three times and combined with password but still no luck.

 

Everywhere i search i couldnt find a definitive answer.

 

Could some one please help me in connecting from Force.com IDE.

 

I just signed up as a developer and i am not associated to any company.

 

Any help would be appreciated

 

Ryan-GuestRyan-Guest

Try using the specific instance, such as https://na2.salesforce.com

bharath11rbharath11r

Nope no luck. When I pasted  https://na2.salesforce.com for Environment(Other(specify)) it complained about https protocol. I removed it and it still no luck.

 

saswatmsaswatm

Just figured out during sales force training. 

 

Login to your sales force account

 

Setup -> My Personal Information -> Reset my security token

 

Retrieve the token from the email and then along with username and password provide the token number and it should connect

Raj_SFRaj_SF
I was encoutering this same issue since last 2 days, and found out that I had to enable "Browsing History" in Internet Explorer. This setting is required for the password to get saved in Force.com IDE. Because by default eclipse uses IE as the browser and uses IE's settings.

To do so in IE, go to Tools -> Internet Options -> In "Browsing History" uncheck "Delete Browsing history on exit"