Newbie
Newbie

Reputation: 179

PHP Netbeans, Cannot Connect to server via SFTP

Im trying to connect my project via sFTP. and everytime I run the project it says.

Cannot Connect to Server http://abcd.efg.com
Reason: java.net.UnkownHostException: http://abcd.efg.com

But when I hit ok. the application then starts at my browser. which is weird, I set up the project as New Project, and PHP Application with existing Sources because I already have a project. then set "Run as: remote website (ftp,Sftp)"

Upvotes: 1

Views: 3149

Answers (1)

Eswar Rajesh Pinapala
Eswar Rajesh Pinapala

Reputation: 4911

use abcd.efg.com instead of http://abcd.efg.com

you cannot connect over sftp and http at the same time :). Netbeans is expecting the hostname to connect over sftp, surely it doesnt like http://hostname.com over :22

Upvotes: 2

Related Questions