threatnote icon indicating copy to clipboard operation
threatnote copied to clipboard

'localhost:5000' doesn't match configured server name 'local.docker:5000'

Open bonda007 opened this issue 4 years ago • 5 comments

threatnote_1 | /usr/local/lib/python3.8/site-packages/flask/app.py:2171: UserWarning: Current server name 'localhost:5000' doesn't match configured server name 'local.docker:5000' threatnote_1 | return self.url_map.bind_to_environ( threatnote_1 | /usr/local/lib/python3.8/site-packages/flask/app.py:2171: UserWarning: Current server name 'localhost:5000' doesn't match configured server name 'local.docker:5000' threatnote_1 | return self.url_map.bind_to_environ(

bonda007 avatar Jun 07 '20 21:06 bonda007

i am also having this issue

ghost avatar Apr 24 '21 21:04 ghost

Same Issue.

jigsawsecurity avatar Aug 06 '21 20:08 jigsawsecurity

Same Issue.

robben-ar avatar Aug 07 '21 06:08 robben-ar

i changed the app.config['SERVER_NAME'] = 'sth.mydomain.xx' in the config.py and then i rebuilt the docker. As a workaround

chrisanag1985 avatar Oct 21 '21 10:10 chrisanag1985

Just add an entry to your /etc/hosts (Linux/Mac):

127.0.0.1 local.docker

krish203 avatar Nov 22 '21 22:11 krish203