OL Learn

NodeJS-Server-Input cannot process simple POST



I tried to use the NodeJS-Server-Input Plugin (as an alternative to the HTTP-Server-Input Plugin) to catch a http request. I always get the message “Cannot POST /formStart” in the browser.

Browser console says: “Failed to load resource: the server responded with a status of 404 (Not Found)”.

Port 9090 is set in the NodeJS Server Input plugin preferences 1.

All PlanetPress Workflow services are started (PlanetPress Workflow NodeJS Service, …)

My webform

form action=“http://localhost:9090/formStart” method=“POST”>
input type=“text” name=“test” />
input type=“submit” />

NodeJS-Server-Input Plugin as first Step in the process

  • HTTP-Action: formStart
  • Mime-Type: text/html

What am I doing wrong?



Works fine here. I used your HTML:

    <form action="http://localhost:9090/formStart" method="POST">
      <input type="text" name="test" />
      <input type="submit" />

Then, in my process, I have a NodeJS Input task:

And immediately after, I have a Create File task that creates a basic HTML response to send back to the client:

The process ends with a Delete output task.


Then it must be a technical problem on my machine. I had the same settings in the plugin and it seems the request cannot not find the target. Do you have an idea what to check next?
I am using PlanetPress Connect version 2019.1 on windows 10 Pro with latest updates.
On another pc with win 10 pro and pp 2019.1 I have the same issue. :frowning:


Could it be that you are using Microsoft Edge as your browser? Microsoft has disabled loopbacks (i.e. localhost access) by default. See this MS article for more info.

To restore loopback access for Edge, you can do the following:

  • Launch a Command-Line window in administrator mode
  • Type the following command:
    CheckNetIsolation LoopbackExempt -a -n=Microsoft.MicrosoftEdge_8wekyb3d8bbwe​

I’m not sure if you can restore this setting globally for all applications, but the article mentioned above also explains how you can restore loopback for pretty much any individual application.


I am using Chrome and I also tried to set my ip as target ( and also 192.168…). I changed the standard browser to Firefox, too. I am really puzzled about it.


Ok, I tried it this morning again and now it works :roll_eyes:
The strange thing is that I restarted the pc yesterday many times and it did not work.