# When use a virtual device, cannot find pending device in the server

**URL:** https://hub.mender.io/t/when-use-a-virtual-device-cannot-find-pending-device-in-the-server/5304
**Category:** General Discussions
**Created:** [October 11, 2022, 3:45am UTC](https://hub.mender.io/t/when-use-a-virtual-device-cannot-find-pending-device-in-the-server/5304 "2022-10-11T03:45:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![yang](https://avatars.discourse-cdn.com/v4/letter/y/77aa72/32.png) [@yang](https://hub.mender.io/u/yang)
#### Post date: [October 11, 2022, 3:45am UTC](https://hub.mender.io/t/when-use-a-virtual-device-cannot-find-pending-device-in-the-server/5304/1 "2022-10-11T03:45:07Z")

</div>

hi,all  
when i first attempt to use the Docker-run virtual device following the tutorial,I cannot find the the pending device in the server.  
Then i check the syslog,

 ![图片](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/2X/9/99da012a04b2d6d27805cad774514270956ffc5c.png)  
It seems that there is something wrong with the network，But I don’t know how to solve this problem, because Docker can ping the Internet normally,such as ping 39.156.66.10.  
Some error messages also appear on the server，such as  
 ![图片](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/2X/e/e79fc739f75c1355a367e6e42e7a52c39ed5bc96.png)

So how to solve the problem

---

<div class="post-metadata">

### Author: ![yang](https://avatars.discourse-cdn.com/v4/letter/y/77aa72/32.png) [@yang](https://hub.mender.io/u/yang)
#### Post date: [October 11, 2022, 7:52am UTC](https://hub.mender.io/t/when-use-a-virtual-device-cannot-find-pending-device-in-the-server/5304/2 "2022-10-11T07:52:17Z")

</div>

I solve the problem.I can ping ip,such as 39.156.66.10,but can not ping hostname,such as ping [hosted.mender.io](http://hosted.mender.io). The reason is that the DNS server is wrong,then i change the file:/etc/resolv.conf,change the nameserver,now the virtual device can be found!
