In order for the browser to resolve this custom name, you need to add an alias to your / etc / hosts file . It probably already contains a line around 127.0.0.1, in which case you just add your alias to the list
127.0.0.1 localhost localhost.localdomain myappname
, .
app.config['SERVER_NAME'] = 'myappname:5000'
( root sudo) , 80, .