f.lux f.lux forum
    • Recent
    • Popular
    • Register
    • Login

    API Hook not working with Ports?

    Scheduled Pinned Locked Moved Windows v4
    7 Posts 2 Posters 3.7k Views 2 Watching
    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.
    • J
      JulianSchn
      last edited by

      I fired up a flask server on my localhost at port 5000.

      Manually entering http://localhost:5000/?ct=4800&bri=0.5 into a browser works, however when I paste:
      http://127.0.0.1:5000/ into the flux setting and click done (checked the minute polling option) I don't get any posts to my server.

      Is this due to the port? Cannot check without a port, since 80 is already being used on my machine.

      1 Reply Last reply
      Reply Quote 0
      • J
        JulianSchn
        last edited by

        Update:
        Could confirm that its not the port. I changed the port to 80.
        I tried entering localhost and 127.0.0.1 as URL, with or without http://

        Anything I'm missing here?

        1 Reply Last reply
        Reply Quote 0
        • J
          JulianSchn
          last edited by

          The 10 minute edit limit is quite annoying..
          Update: http://127.0.0.1/ as a setting works, http://127.0.0.1:5000/ doesnt.

          1 Reply Last reply
          Reply Quote 0
          • herfH
            herf
            last edited by

            ok will check this - I used to use a custom port, but may have changed something in the validation code.

            (sorry for the limit - we were getting so many spammers editing old posts after there was a reply, and none of the spam filters would check this case.....so we have to do that for now.)

            1 Reply Last reply
            Reply Quote 0
            • herfH
              herf
              last edited by

              For me, localhost:9090 and remote:9090 both work.

              I'm on the https://justgetflux.com/flux-setup4.exe beta build...I fixed one case a month ago that may have corrupted the URL you type in, so maybe that could be it? Fixed in beta but not the main release.

              1 Reply Last reply
              Reply Quote 0
              • J
                JulianSchn
                last edited by

                Okay, I figured out a way to clear up my 80 port, so it seems to be working now. If there is fix coming all the better :)

                1 Reply Last reply
                Reply Quote 0
                • herfH
                  herf
                  last edited by

                  Would be interested to know if the beta fixes things also - also I think it might be possible that https with a port might not work?

                  1 Reply Last reply
                  Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post
                  Copyright © 2014 NodeBB Forums | Contributors