Checking if a port is listening on Windows

  1. 7 months ago

    Garry P

    20 Mar 2017 Pre-Release Testers Europe (Torquay, UK)

    I have a PHP webserver running on port 35035 (i.e. if I visit http://127.0.0.1:35035/ HTML is returned). Is there a way on Windows with Xojo to check that the server is still running? Occasionally it spontaneously closes. I.e. how would I get the contents of the page served at http://127.0.0.1:35035?

  2. Frederick R

    20 Mar 2017 Pre-Release Testers, Xojo Pro Annapolis, Maryland

    http://docs.xojo.com/index.php/HTTPSocket.Get

  3. shao s

    is not verified 20 Mar 2017 Sudbury, Ontario, Canada

    You can also just use a TCPSocket and try to connect to the port.. If there is a connection made, it's running.. No connection, it's down..

or Sign Up to reply!