omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Bottle Question

    Pythonista
    2
    3
    1903
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • vpn
      vpn last edited by

      Hello, I have a question about bottle. I have tried looking it up on YouTube, but now am resorting to this forum. I was wondering if I could host this not just on my localhost but on my actually IP itself. Is this possible? BTW, I'm on python 2.

      1 Reply Last reply Reply Quote 0
      • bennr01
        bennr01 last edited by bennr01

        @vpn use bottle.run(host="0.0.0.0") to listen on all interfaces. If you have your own bottle instance, use the run() method of the instance.

        vpn 1 Reply Last reply Reply Quote 0
        • vpn
          vpn @bennr01 last edited by

          @bennr01 thank you, just what I needed! I will try it out now.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors