I'm developing a REST API in PHP 7.0 with phpStorm. I'm using "PHP Built-in Web Server" as a server (screenshot of the configuration below)
Now I'm trying the integrated REST Client and I'm getting this error:
org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/127.0.0.1] failed: Connection refused (Connection refused)
But every other test works (browser, telnet, other REST clients...). Integrated REST client works with other services (like http://now.httpbin.org/ )
What am I doing wrong?
(Using phpStorm 2017.3.1 on macOS 10.13.3)