On installing bastion on a new Windows Server 2012 R2 installation, I always see the following error at the end of genvid-bastion install:
INFO:genvid-bastion:Waiting for service bastion-api ... HTTPConnectionPool(host='127.0.0.1', port=8092): Max retries exceeded with url: /v1/bastion/backends (Caused by NewConnectionError('<urllib3.connection.HTTPConn ection object at 0x0000001C6A58A240>: Failed to establish a new connection: [Win Error 10061] No connection could be made because the target machine actively ref used it',)) File "c:\users\administrator\appdata\local\programs\python\python35\lib\site-p ackages\requests\adapters.py", line 513, in send raise ConnectionError(e, request=request)
… meaning I cannot get to the Bastion UI.
Looking inside bastion-api.stderr.0 (inside the alloc logs), I noticed the following:
bastion-api serving HTTP on 10.0.2.27:8092
i.e. it is listening on the private LAN IP address, and not 127.0.0.1 (which it does by default on my local dev machine). However, I did not override GENVID_DEFAULT_IP. Is there a way to force to it listen on 127.0.0.1 to fix the error (I already tried forcing GENVID_DEFAULT_IP=127.0.0.1, makes no difference …)