fix to connection refused