Hello...I figured I could do some damage to the software but nope. I just
changed the 0.0.0.0:81 host:port values and BAM, it worked.
With Flask, use your BBB SSH sign in credentials (IP address) for the host
and use port 5000. This should work universally with older model books that
want to use other hosts and ports, e.g. that are outdated or no longer used
with specific software.
Seth
P.S. Enjoy!
On Saturday, April 8, 2017 at 11:00:15 PM UTC-5, Mala Dies wrote:
>
> Hello Again,
>
> Seth here. I am working out of a book and Flask is the subject.
>
> * from flask import Flask*
> * app = Flask(__name__)*
>
> * @app.route("/")*
> * def hello():*
> * return "Blah, blah, blah!"*
>
> * if __name__ == "__main__":*
> * app.run(host='0.0.0.0', port=81, debug=True)*
>
> The above software should run an app online at http://beaglebone.local:81
> and I should get some feedback on my PuTTY command line.
>
> Issue 1: The sudo python super-Flask.py software runs and does not quit
> but when I arrive via Chrome to my port address, there is nothing but an
> error on the online page stating that this host does not exist.
>
> Issue 2: Should I use another host or port? I have no clue and the people
> from Flask sent me back to the "you people." BBB! Oh and the BBBW!
>
> Seth
>
> P.S. If you have any ideas, hit me up. I sure could use some three-year
> hiatus fixes.
>
>
>
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/1cd57f3a-9ae1-47f1-8f87-185f75267772%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.