# Rancher server behind router in VM

**URL:** <https://forums.suse.com/t/rancher-server-behind-router-in-vm/3023>\
**Category:** Rancher 1.x\
**Created:** [June 5, 2016, 1:34pm UTC](https://forums.suse.com/t/rancher-server-behind-router-in-vm/3023 "2016-06-05T13:34:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![helgoboss](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/helgoboss/32/1402_2.png) [@helgoboss](https://forums.suse.com/u/helgoboss)\
**Post date:** [June 5, 2016, 1:34pm UTC](https://forums.suse.com/t/rancher-server-behind-router-in-vm/3023/1 "2016-06-05T13:34:26Z")

</div>

Hi all,

I have issues with my Rancher Server setup. I’m running Rancher Server (v1.1.0-dev3) at home behind a router. Docker runs on a Windows 10 Pro machine using the new Docker for Windows Beta. That means Docker actually runs in a virtual Hyper-V machine within a network provided by a Hyper-V virtual switch. NAT port forwarding is used to make Rancher Server accessible from the internet (port 80 from router to windows machine + from windows machine to Hyper-V machine).

Most things work but some don’t:

1. Container stats don’t show up. It merely displays “Connecting…” and the browser console repeatedly shows:

2. Newly created machines don’t show the correct IP address but instead 10.0.75.0 - which is the IP of the virtual switch.

Do you have any ideas?

Thanks  
Benjamin

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [June 5, 2016, 9:18pm UTC](https://forums.suse.com/t/rancher-server-behind-router-in-vm/3023/2 "2016-06-05T21:18:59Z")

</div>

If you are running Docker 1.11, then the container stats issue is a known one.

> <https://github.com/rancher/rancher/issues/4406>

As for the host IP, rancher does its best to guess the correct one, but in certain setups it fails. I am on my phone, but in this page (but further down) it says how you can update it.

[http://docs.rancher.com/rancher/latest/en/faqs/agents/](http://docs.rancher.com/rancher/latest/en/faqs/agents/)
