# Client can't connect to mender demo server

**URL:** https://hub.mender.io/t/client-cant-connect-to-mender-demo-server/4034
**Category:** General Discussions
**Tags:** yocto, variscite
**Created:** [August 27, 2021, 3:33am UTC](https://hub.mender.io/t/client-cant-connect-to-mender-demo-server/4034 "2021-08-27T03:33:09Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![marizonne.villafranc](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@marizonne.villafranc](https://hub.mender.io/u/marizonne.villafranc)
#### Post date: [August 27, 2021, 3:33am UTC](https://hub.mender.io/t/client-cant-connect-to-mender-demo-server/4034/1 "2021-08-27T03:33:10Z")

</div>

Hi,

I tried to connect to the mender demo server.  
This is my local.conf:

```auto
# Build for Mender demo server
#
# https://docs.mender.io/getting-started/create-a-test-environment
#
# Uncomment below and update IP address to match the machine running the
# Mender demo server
MENDER_DEMO_HOST_IP_ADDRESS = "127.0.0.1"

```

This is the /etc/hosts:

```auto
127.0.0.1	localhost
127.0.1.1	ubuntu-bionic-desktop.localdomain	ubuntu-bionic-desktop
127.0.0.1	s3.docker.mender.io
127.0.0.1	docker.mender.io

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

```

The client is also using the meta-mender-demo layer.

This is the error in the client:

```auto
Aug 27 03:32:25 hero-secc mender[823]: time="2021-08-27T03:32:25Z" level=error msg="Failure occurred while executing authorization request: Method: Post, URL: https://docker.mender.io/api/devices/v1/authentication/auth_requests"
Aug 27 03:32:25 hero-secc mender[823]: time="2021-08-27T03:32:25Z" level=error msg="Authorize failed: transient error: authorization request failed: transient error: authorization request failed: Unknown url.Error type: dial tcp 127.0.0.1:443: connect: connection refused"

```

Please advise. Thank you!

Kind regards,  
Marizonne

---

<div class="post-metadata">

### Author: ![marizonne.villafranc](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@marizonne.villafranc](https://hub.mender.io/u/marizonne.villafranc)
#### Post date: [August 27, 2021, 7:35am UTC](https://hub.mender.io/t/client-cant-connect-to-mender-demo-server/4034/2 "2021-08-27T07:35:53Z")

</div>

This is now fixed.

I used a different IP address.
