everything seems to work, but connection refused