Applicable to:
- Plesk Onyx for Windows
Symptoms
On Plesk for Windows server, a Node.js application is not working:
CONFIG_TEXT: The iisnode module is unable to start the node.exe process. Make sure the node.exe executable is available at the location specified in the system.webServer/iisnode/@nodeProcessCommandLine element of web.config. By default node.exe is expected in one of the directories listed in the PATH environment variable.
The parameter nodeProcessCommandLine
is customized (the default value is C:\Program Files\nodejs\node.exe
) in the settings of the IIS module iisnode
in Internet Information Service (IIS) Manager > server_hostname > Configuration Editor > system.webServer/iisnode:
Cause
The settings of the IIS module iisnode
are customized, therefore, the process node.exe
cannot be started properly.
Resolution
-
Connect to the server using RDP.
-
Open Internet Information Service (IIS) Manager:
-
in Windows Server 2008 and 2008 R2: go to Start > Administrative Tools > Internet Information Service (IIS) Manager.
-
in Windows Server 2012 and newer: go to Start > Server Manager > Tools > Internet Information Service (IIS) Manager.
-
-
Go to server_hostname > Configuration Editor, in the field Section select system.webServer/iisnode:
-
Set the parameter
nodeProcessCommandLine
toC:\Program Files\nodejs\node.exe
and click Apply to save the changes:
Comments
0 comments
Please sign in to leave a comment.