Announcement

Collapse
No announcement yet.

Phoromatic server how to specify network interface? (instead of localhost)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Phoromatic server how to specify network interface? (instead of localhost)

    I'm new to PTS, and I'm struggling to get Phoromatic server running on my local network, using phoronix-test-suite_6.2.1_all.deb:

    In /etc/phoronix-test-suite.xml there doesn't seem to be anything in the <Server> section to control which IP address/network interface the server runs on? Only <RemoteAccessPort> and <WebSocketPort>.

    If I do:

    # phoronix-test-suite start-phoromatic-server

    then Phoromatic server starts up, but only on localhost. So no outside devices can talk to it It is on a headless machine, so I can't even open up a browser on localhost. The machine has 2 ethernet interfaces and I need to be able to specify one of them.

    Many thanks for any help

  • #2
    If you are running "start-phoromatic-server" it should always open it up to be accessible from either NIC AFAIK.
    Michael Larabel
    https://www.michaellarabel.com/

    Comment


    • #3
      Many thanks, now working It was actually my firewall stopping the connections on anything except localhost :/

      I think it is a little confusing to report "The Phoromatic Web Interface Is Accessible At: http://localhost:PORTNUMBER" as I'd expect that to *only* be available via localhost. That is certainly how most services would be configured. How about?

      "The Phoromatic Web Interface Is Accessible At: http://localhost:PORTNUMBER or http://IPADDRESS:PORTNUMBER"

      to indicate it is available remotely?

      Comment


      • #4
        Originally posted by sheffieldnick View Post
        Many thanks, now working It was actually my firewall stopping the connections on anything except localhost :/

        I think it is a little confusing to report "The Phoromatic Web Interface Is Accessible At: http://localhost:PORTNUMBER" as I'd expect that to *only* be available via localhost. That is certainly how most services would be configured. How about?

        "The Phoromatic Web Interface Is Accessible At: http://localhost:PORTNUMBER or http://IPADDRESS:PORTNUMBER"

        to indicate it is available remotely?
        Usually when PTS can properly auto-determine your LAN IP, it will show it instead of localhost. But in cases of like multiple NICs, I don't have good logic right now for accurately determining what IP to show in some reasons, so falls back to using localhost.
        Michael Larabel
        https://www.michaellarabel.com/

        Comment


        • #5
          Originally posted by Michael View Post

          Usually when PTS can properly auto-determine your LAN IP, it will show it instead of localhost. But in cases of like multiple NICs, I don't have good logic right now for accurately determining what IP to show in some reasons, so falls back to using localhost.
          That sounds good. Perhaps if you can't determine which IP to show, change the fallback message to "... Is Accessible on all network interfaces. e.g., http://localhost:PORTNUMBER" ?

          Comment

          Working...
          X