Professional Web Applications Themes

cant telnet to port 81 - Linux Setup, Configuration & Administration

Removed by Administrator...

  1. Moderated Post

    Default Re: cant telnet to port 81

    Removed by Administrator
    Dave Uhring Guest
    Moderated Post

  2. Moderated Post

    Default Re: cant telnet to port 81

    Removed by Administrator
    Michael C. Starkie Guest
    Moderated Post

  3. Moderated Post

    Default Re: cant telnet to port 81

    Removed by Administrator
    Michael C. Starkie Guest
    Moderated Post

  4. #4

    Default Re: cant telnet to port 81

    Dave Uhring wrote:
    > On Sun, 20 Jul 2003 04:26:06 +0000, Michael C. Starkie wrote:
    >
    >
    >>>>I have an apache webserver running on port 81 (i think i set it up
    >>>>to do this)
    >
    >
    >>nothing on port 81
    >
    >
    > You just proved that you did not "set it up properly" :-)
    >
    > Back to the man pages and HOWTO.
    >
    when I netstat -a | grep http I see the following:

    tcp 0 0 *:http *:* LISTEN
    tcp 0 0 *:https *:* LISTEN

    but when I netstat -n | grep http I see no output.

    when I type hostname, I see the value in /etc/hosts:

    hostname.mydomain.com

    what does this tell me? The OS can not resolve the canonical name of my
    host? or it knows that I'm running http but it can't figure out which
    port it's on? I'm confused...

    when I ps aux | grep http, I see /usr/sbin/httpd so I know apache is
    running. I looked at the config file it's listening on port 81.....

    Michael C. Starkie Guest

  5. #5

    Default Re: cant telnet to port 81

    On Sun, 20 Jul 2003 14:30:49 +0000, Michael C. Starkie wrote:
    > when I netstat -a | grep http I see the following:
    >
    > tcp 0 0 *:http *:* LISTEN
    > tcp 0 0 *:https *:* LISTEN
    > what does this tell me? The OS can not resolve the canonical name of my
    > host? or it knows that I'm running http but it can't figure out which
    > port it's on? I'm confused...
    >
    > when I ps aux | grep http, I see /usr/sbin/httpd so I know apache is
    > running. I looked at the config file it's listening on port 81.....
    [etc]# grep http /etc/services
    # [url]http://www.iana.org/assignments/port-numbers[/url]
    http 80/tcp www www-http #World Wide Web HTTP
    http 80/udp www www-http #World Wide Web HTTP
    http-mgmt 280/tcp
    http-mgmt 280/udp
    https 443/tcp
    https 443/udp
    .....

    Unless you changed that your server is running on ports 80 and 443. And
    it is listening to -all- the internet.

    Dave Uhring Guest

  6. #6

    Default Re: cant telnet to port 81

    Michael C. Starkie wrote:
    > when I netstat -a | grep http I see the following:
    >
    > tcp 0 0 *:http *:* LISTEN
    > tcp 0 0 *:https *:* LISTEN
    i.e. something is listening in ports 80 (http) and 443 (https).
    > but when I netstat -n | grep http I see no output.
    No wonder. Try:

    'netstat -n -a | grep 81'

    > what does this tell me? The OS can not resolve the canonical name of my
    > host? or it knows that I'm running http but it can't figure out which
    > port it's on? I'm confused...
    The OS knows that process httpd is bound to port 80. No more, no less.

    --
    Timo Voipio | Helsinki, Finland | ICBM at: 60 11.800 N 024 52.760 E
    GeekCode ver 3: GU>CC d s-: a--- C++ UL(+)$>+++$ P+>+++ L++(+) E- W++ N++
    o? K? w O M- V- PS PE Y+ PGP+ t 5++ X R tv- b++(++++) DI+ D G e- h! r !y

    Timo Voipio Guest

  7. Moderated Post

    Default Re: cant telnet to port 81

    Removed by Administrator
    Lew Pitcher Guest
    Moderated Post

  8. #8

    Default Re: cant telnet to port 81

    Certainly looks like an Apache configuration problem.

    All I had to do to get Apache2 listening on port 81 was to change the
    "Listen" directive to 81 and restart Apache.

    Maybe you didn't restart Apache?
    Xyerp Guest

  9. #9

    Default Re: cant telnet to port 81

    This thread has been very useful in helping me with this problem.

    The problem was that I had installed apache 2.0 over an earlier version
    that got installed with the OS. The original version gets started
    automatically when the system reboots so I was trying to run two servers
    at the same time. Stopping the default server and starting apache 2.0
    solved the problem.

    How do I disable a service from starting automatically? I now forget
    the utility I ran from the command line to check off services I wish to
    run at start-up.


    Xyerp wrote:
    > Certainly looks like an Apache configuration problem.
    >
    > All I had to do to get Apache2 listening on port 81 was to change the
    > "Listen" directive to 81 and restart Apache.
    >
    > Maybe you didn't restart Apache?
    Michael C. Starkie Guest

  10. #10

    Default Re: cant telnet to port 81

    Xyerp wrote:
    > Certainly looks like an Apache configuration problem.
    >
    > All I had to do to get Apache2 listening on port 81 was to change the
    > "Listen" directive to 81 and restart Apache.
    >
    > Maybe you didn't restart Apache?
    This thread has been very useful in helping me with this problem.

    The problem was that I had installed apache 2.0 over an earlier version
    that got installed with the OS. The original version gets started
    automatically when the system reboots so I was trying to run two servers
    at the same time. Stopping the default server and starting apache 2.0
    solved the problem.

    How do I disable a service from starting automatically? I now forget
    the utility I ran from the command line to check off services I wish to
    run at start-up.

    Michael C. Starkie Guest

Similar Threads

  1. How do you telnet from 1 host to another using Telnet Module
    By mark1.thompson45@btinternet.com in forum PERL Modules
    Replies: 5
    Last Post: December 30th, 10:13 PM
  2. net::telnet to ms telnet server
    By jm in forum PERL Modules
    Replies: 0
    Last Post: May 18th, 11:28 PM
  3. Net::Telnet problem with MS Telnet Service
    By texbmex in forum PERL Modules
    Replies: 2
    Last Post: June 24th, 04:52 PM
  4. Replies: 2
    Last Post: September 15th, 08:36 AM
  5. Why no telnet?
    By Wesley Groleau in forum Mac Applications & Software
    Replies: 22
    Last Post: July 21st, 04:07 PM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139