Skip to content
Advertisement

Tag: netcat

netcat “Connection refused” on localhost

I’m trying to get a value from a netcat connection started at a php file, but it dies with: I don’t know why but it works well if I ssh it as apache user (www-data), this is what I’ve done: 1) Start an endless loop serving a date with a little delay: 2) Check if is working: 3) Create /var/www/test.php

Advertisement