我想使用 phpstorm IDE 作为服务器的远程控制
I'ld like to use phpstorm IDE as remote control for server
我是这样做的:
1) "create new project from existing sources"
2) check at "webserver is on remote host, files are accessible via ftp/sftp/ftps"
3) project name "myTest"
4) add new remote server
5) name: my-domain.com
type: ftp
ftp host: my-domain.de
port: 21
root path : /
username: my-username
password: my-password
window is popping up:
"checking connection to my-domain.com"
"connecting by ftp"
但每次我都会收到错误消息:
"connection to 'my-domain.com' failed.
HEAD method failed for "http://my-domain.com/" with HTTP status 403."
这不是用户名和密码错误,因为我可以通过 filezilla 使用这些数据登录而不会遇到任何问题。过去有同样问题的人吗?谁知道怎么处理? phpstorm 是否需要进一步配置才能在服务器上使用远程控制?
ftp 和 http 服务器是否在相似的域中?
HEAD method failed for "http://my-domain.com/" with HTTP status 403."
据此,IDE 正在尝试连接到 http 服务器并收到错误。
尝试检查 "Don't check http connection".
缺少选项:在 5) 的屏幕上,我单击了 "Advanced options" 并检查了 "compatibility mode" 和 "passive mode" (https://www.jetbrains.com/phpstorm/help/advanced-options-dialog.html)。
此外,我在屏幕 5) 的 "Don't check http connection" 进行了检查。
我是这样做的:
1) "create new project from existing sources" 2) check at "webserver is on remote host, files are accessible via ftp/sftp/ftps" 3) project name "myTest" 4) add new remote server 5) name: my-domain.com type: ftp ftp host: my-domain.de port: 21 root path : / username: my-username password: my-password window is popping up: "checking connection to my-domain.com" "connecting by ftp"
但每次我都会收到错误消息:
"connection to 'my-domain.com' failed. HEAD method failed for "http://my-domain.com/" with HTTP status 403."
这不是用户名和密码错误,因为我可以通过 filezilla 使用这些数据登录而不会遇到任何问题。过去有同样问题的人吗?谁知道怎么处理? phpstorm 是否需要进一步配置才能在服务器上使用远程控制?
ftp 和 http 服务器是否在相似的域中?
HEAD method failed for "http://my-domain.com/" with HTTP status 403."
据此,IDE 正在尝试连接到 http 服务器并收到错误。 尝试检查 "Don't check http connection".
缺少选项:在 5) 的屏幕上,我单击了 "Advanced options" 并检查了 "compatibility mode" 和 "passive mode" (https://www.jetbrains.com/phpstorm/help/advanced-options-dialog.html)。 此外,我在屏幕 5) 的 "Don't check http connection" 进行了检查。