Problems with pipes and connection refused