Find the answer to your Linux question:
Results 1 to 10 of 10
I was trying to connect to the local host but it said that the connection was refused. Ive never had this problem before does anybody know what might be going ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Apr 2003
    Location
    TEXAS
    Posts
    314

    connection refused


    I was trying to connect to the local host but it said that the connection was refused.

    Ive never had this problem before does anybody know what might be going on.

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Quote Originally Posted by bignester
    I was trying to connect
    What protocol are you referring to?

  3. #3
    Linux User
    Join Date
    Apr 2003
    Location
    TEXAS
    Posts
    314

    just the apache website

    protocol 901 for swat for samba

    also my apache webserver doesnt seem to be responzive

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer
    Join Date
    Apr 2003
    Location
    Sweden
    Posts
    796
    Do you have iptables enabled?? And are you using https://localhost:901 to talk to webmin, not http:// right??

    Regards

    Regards

    Andutt

  6. #5
    Linux User
    Join Date
    Apr 2003
    Location
    TEXAS
    Posts
    314

    thanx for the tip

    thanx for telling me https and not http but now it just hangs there and does nothing

    and also i have my apache server running but it wont let me connect to the localhost it connection refused

    is something that i have to turn on that i havent turned yet or something

  7. #6
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Are you sure apache is running? In that case, check "netstat -antp | grep httpd" to check what ports it's listening to.

  8. #7
    Linux User
    Join Date
    Apr 2003
    Location
    TEXAS
    Posts
    314

    nothing

    what does it mean when nothing comes up

  9. #8
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    It means that apache isn't listening to anything. Are you sure that it's actually running?

  10. #9
    Linux Engineer
    Join Date
    Apr 2003
    Location
    Sweden
    Posts
    796
    Execute

    Code:
    ps -efl |grep http
    To see if you webserver is up and running, if you dont se any processes there, start your webbserver with /etc/init.d/httpd start and try again.

    Regards

    Regards

    Andutt

  11. #10
    Just Joined!
    Join Date
    Apr 2003
    Posts
    20
    check /etc/hosts.deny , u might have blocked the local conenctions to the local http server or the samba server or u've blocked all the connections in once (ALL:ALL) .
    however checking this file would be a good thing to try if things got unworkable.

Posting Permissions

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