PhpStorm 2021.2 Help

Create New Project: Add Remote Server

The page opens if you have selected the Add new remote server option on the Create New Project: Specify Remote Server page. On this page, specify a new configuration of settings to connect and authenticate to a remote server.

Item

Description

Available for

Name

In this field, type the name of the new remote server configuration.

FTP, FTPS, SFTP

Type

In this list, choose the way to access the server. The available options are:

  • FTP: choose this option to have PhpStorm access the server via the FTP file transfer protocol.

  • SFTP: choose this option to have PhpStorm access the server via the SFTP file transfer protocol.

  • FTPS: choose this option to have PhpStorm access the server via the FTP file transfer protocol over SSL (the FTPS extension).

  • Local or mounted folder: choose this option if the Web server is running in a local or a mounted folder and its document root is NOT the parent of the project root.

  • In place: choose this option if the Web server is running on your computer, your project is under its document root, and you do your development directly on the server.

FTP, FTPS, SFTP

FTP/FTPS host

In this field, specify the host name of the FTP/FTPS server to download the files from.

FTP, FTPS

Port

In this field, specify the port to use. The default value is 21.

FTP, FTPS

User name

In this field, type your user name for authentication to the server.

FTP, FTPS

Log in as anonymous

Select this checkbox to enable anonymous access to the server with your email address as password.

FTP, FTPS

Password

In this field, type your password for authentication to the server.

FTP, FTPS

Save password

Select this checkbox to have PhpStorm remember the specified password.

FTP, FTPS

SSH configuration

From this list, choose one of the created SSH configurations, or click the Browse button and create a new configuration as described in Create SSH configurations.

SFTP

Test connection

Click this button to check that the specified settings ensure successful connection via FTP/SFTP/FTPS.

FTP, FTPS, SFTP

Root path

In this field, specify the server configuration root relative to the root folder on the server. This folder will be the highest one in the folder structure accessible through the current server configuration.

Do one of the following:

  • Accept the default / path, which points at the root folder on the server.

  • Type the path manually or click Browse button and select the desired folder in the Choose Root Path dialog that opens.

  • Click Autodetect. PhpStorm detects the user home folder settings on the FTP/SFTP server and sets up the root path according to them. The button is only enabled when you have specified your credentials.

FTP, FTPS, SFTP

Autodetect

Click this button to have PhpStorm detect the user home folder settings on the FTP/SFTP/FTPS server and set up the root path according to them.

FTP, FTPS, SFTP

Advanced

Expand this area to specify the additional uploading settings. The set of controls in the dialog box depends on the server access type, for details, see Deployment: Connection Tab.

FTP, FTPS, SFTP

TLS

Choose the method to invoke client security:

  • Explicit: the explicit (active) security is applied. Immediately after establishing connection, the FTP client on your machine sends a command to the server to establish secure control connection through the default FTP port.

  • Implicit: the implicit (passive) security is applied. In this case, security is provided automatically upon establishing connection to the server which appoints a separate port for secure connections.

    Note that the Implicit method is considered deprecated, and using it is discouraged.

FTPS

Web server URL

In this field, specify the URL address of the Web server root folder. Click Open URL in browser icon in the field to make sure that the specified server root URL address is accessible and points at the correct web page.

Both the HTTP and the HTTPS protocols are supported.

FTP, FTPS, SFTP

Don't check HTTP connection to server

  • When this checkbox is cleared, PhpStorm checks whether the specified URL address ensures successful connection to the server.

    Both the HTTP and the HTTPS protocols are supported.

  • When this checkbox is selected, PhpStorm moves to the next page of the Wizard without any connection check.

FTP, FTPS, SFTP

Last modified: 12 October 2021