Connection refused when tryign to run bottle/flask web framweworks
Ian Kelly
ian.g.kelly at gmail.com
Sun Aug 19 18:27:51 EDT 2018
On Sun, Aug 19, 2018, 1:47 PM Νίκος <nikos.at.superhost at gmail.com> wrote:
> Hello,
>
> i just installed bottle and flask web frameworks in my CentOS environment
> but i canno get it working even with the simpleste xample. The coonection
> is refused always.
>
> from bottle import route, run, template
>
> @route('/hello/<name>')
> def index(name):
> return template('<b>Hello {{name}}</b>!', name=name)
>
> run(host='localhost', port=8080)
>
>
> Any ideas as to why i cannot access it?
> I dont have sme firewall blocking the ports 8080 or 5000.
>
What would port 5000 have to do with it?
How are you trying to access the page?
>
More information about the Python-list
mailing list