strongMan icon indicating copy to clipboard operation
strongMan copied to clipboard

DisallowedHost at

Open Pfantom87 opened this issue 1 year ago • 5 comments

How do I add an ip address to the exceptions? error

DisallowedHost at / Invalid HTTP_HOST header: 'my_ip:1515'. You may need to add 'my_ip' to ALLOWED_HOSTS. my_ip My address is there

deployed on a terminal server without an interface I connect from a remote computer for configuration. Returns this error

Pfantom87 avatar Dec 21 '24 14:12 Pfantom87

Partially repaired Now the error /var/run/charon.vici doesn't exist!

Pfantom87 avatar Dec 22 '24 09:12 Pfantom87

Either the IKE daemon is not running or the file is in a different location.

tobiasbrunner avatar Jan 06 '25 10:01 tobiasbrunner

I have the same problem, tried adding the IP to ALLOWED_HOSTS at strongMan/settings/deployment.py but it didn't make a difference.

yolowex avatar Jan 08 '25 05:01 yolowex

I have the same problem, tried adding the IP to ALLOWED_HOSTS at strongMan/settings/deployment.py but it didn't make a difference.

Not sure if that file is ever used. As far as I can tell, it's mostly the local (which does not override the value set in base) and production (which has a wildcard set) settings.

tobiasbrunner avatar Jan 08 '25 07:01 tobiasbrunner

I have the same problem, tried adding the IP to ALLOWED_HOSTS at strongMan/settings/deployment.py but it didn't make a difference.

Not sure if that file is ever used. As far as I can tell, it's mostly the local (which does not override the value set in base) and production (which has a wildcard set) settings.

I created the ALLOWED_HOSTS in the local.py and added my IP and now it workes

yolowex avatar Jan 08 '25 08:01 yolowex