Results 1 to 9 of 9

Thread: how to check if URL is active ?

  1. #1
    Join Date
    Mar 2012
    Beans
    189

    how to check if URL is active ?

    I have a web service url . service is hosted in a remote box.

    I want to check if web service is running or not.

    what is the command to shoot to check if web service is up or down ?
    Last edited by winzip; April 19th, 2013 at 12:21 PM.

  2. #2
    Join Date
    Dec 2007
    Location
    Bombay
    Beans
    5,167
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: how to check if URL is active ?

    Will http://www.isup.me/ help?
    de gustibus et coloribus non est disputandum -- Wiktionary

  3. #3
    Join Date
    Oct 2005
    Location
    Al Ain
    Beans
    7,814

    Re: how to check if URL is active ?

    Here are a few:
    telnet ipaddress 80
    nc ipaddress -p 80 (or ncat, socat...)

    Or check via a proxy service such as google translate.

    Another way to confirm that something is reachable from around the world is with a Tor bowser, since each time you start Tor up, you are assigned a different exit node.
    Last edited by HermanAB; April 19th, 2013 at 03:06 PM.

  4. #4
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    7,450
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: how to check if URL is active ?

    Code:
    man curl
    There are quite a few switches that you can use to measure web server performance.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  5. #5
    Join Date
    Mar 2012
    Beans
    189

    Re: how to check if URL is active ?

    Quote Originally Posted by HermanAB View Post
    Here are a few:
    telnet ipaddress 80
    nc ipaddress -p 80 (or ncat, socat...)
    There is no internet.

    However web service is in LAN.

    Also, telnet won't tell whether service is deployed and up properly.....yes..it can tell whether server is running in that port correctly.

    no browsing ...as there is no internet

  6. #6
    Join Date
    Mar 2012
    Beans
    189

    Re: how to check if URL is active ?

    Quote Originally Posted by tgalati4 View Post
    Code:
    man curl
    There are quite a few switches that you can use to measure web server performance.
    I know the service end point URL.

    Can you please tell how curl can help me to check if the service is up and running ?

  7. #7
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: how to check if URL is active ?

    Quote Originally Posted by winzip View Post
    There is no internet.

    However web service is in LAN.

    Also, telnet won't tell whether service is deployed and up properly.....yes..it can tell whether server is running in that port correctly.
    If the web server is listening for incoming connections, it usually means it's running and configured correctly. Either check to see if that port is open with something like nc or telnet, or just browse to the site being hosted there to verify it is up and running.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  8. #8
    Join Date
    Mar 2012
    Beans
    189

    Re: how to check if URL is active ?

    Quote Originally Posted by CharlesA View Post
    If the web server is listening for incoming connections, it usually means it's running and configured correctly.
    No. for example, say the server has hosted 3 service in same 8080 port (it can be done)....your telnet to IP Adress and port is not sufficient to tell whether service 2 is running or not.....it will tell wehther port 8080 is connected or not though.

    There is no GUI in the box. service is hosted in LAN....not in www.

    I am connecting through putty.

  9. #9
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: how to check if URL is active ?

    If you are hosting multiple sites on the same machine, you will usually be using virtual hosts, so you would need to access those sites via their URL.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •