Hello. There is a server on the Bottle: Python Web Framework (thanks to the jfs user), the host indicated the IP computer, and not localhost (as in all examples). The server eventually starts up, but I don’t get into the directory from which the server is running into the address bar 192.168.0.2:800 . Tried on the computer at work, there is no such problem. Firewall and antivirus disabled. OS Windows 7 . Did anyone have this problem?
#!/usr/bin/env python from bottle import route, request, run, template $pip install bottle temperature = None @route('/') def index(): global temperature temperature = request.query.temperature or temperature return template('<b>Temperature: {{temperature}}</b>', temperature=temperature) run(host='192.168.0.2', port=800)
IP адресthe machine where this framework is running? - Insider