Can't access ISPConfig by http://...:81

Discussion in 'Installation/Configuration' started by driftguy, Sep 14, 2005.

  1. driftguy

    driftguy New Member

    help, i have finished installation of ISPConfig and it said "ISPConfig system is now up and running!"; but i can't access it by http://192.168...:81(i have changed the host and domain in /home/admispconfig/ispconfig/lib/config.inc.php to IPAddress).
    what's wrong with it? thanks

    in addition: because there is no web browser on the machine that i intall ISPConfig, so i try to access it from another machine by LAN, does it matter?
     
    Last edited: Sep 14, 2005
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Have you tried to access it with https:// ? Do you have a firewall between your workstation and the ISPConfig server that blocks port 81?
     
  3. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Maybe you've chosen https during installation? Try https://192....:81 instead of http.
     
  4. driftguy

    driftguy New Member

    No, it doen't work even i use https, and i remember i chose http when install it; For firewall, the IP of two machine is in same network, one is 192.168.10.72, another is 192.168.10.73, is it possible that the firewall of linux where ISPConfig were installed cause the trouble?
    i check the log file at /var/log:
    in access.log there is record as:
    192.168.10.73 - - [14/Sep/2005:19:20:37 +0800] "GET /favicon.ico HTTP/1.1" 404 1044 "-" "Mozilla/4.0 (compatible; MSIE 6.0;....
    in error.log is:
    [Wed Sep 14 19:20:37 2005] [error] [client 192.168.10.73] File does not exist: /var/www/html/favicon.ico
    and in ispconfig_access_log_2005_09_14 is:
    127.0.0.1||||1044||||192.168.10.73 - - [14/Sep/2005:19:20:37 +0800] "GET /favicon.ico HTTP/1.1" 404 1044 "-" "Mozilla/4.0 (c...

    i don't know whether these infomation can give some hints. In any case, thanks a lot for your hints.
     
  5. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Do you see warnings/errors in the ISPConfig installation log /var/log/ispconfig_install.log?
    Is another firewall than the one from ISPconfig running on your system that blocks port81? Can you post the output of
    Code:
    iptables -L
    ?
     
  6. driftguy

    driftguy New Member

    the linux is new installed, i don't think there is one another firewall system, unless the redhat9 use it by default. and following is the output of iptables -L:

    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    RH-Lokkit-0-50-INPUT all -- anywhere anywhere

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination
    RH-Lokkit-0-50-INPUT all -- anywhere anywhere

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    Chain RH-Lokkit-0-50-INPUT (2 references)
    target prot opt source destination
    ACCEPT udp -- ns.jlonline.com anywhere udp spt:domain dpts:1025:65535
    ACCEPT tcp -- anywhere anywhere tcp dpt:smtp flags:SYN,RST,ACK/SYN
    ACCEPT tcp -- anywhere anywhere tcp dpt:http flags:SYN,RST,ACK/SYN
    ACCEPT tcp -- anywhere anywhere tcp dpt:ftp flags:SYN,RST,ACK/SYN
    ACCEPT tcp -- anywhere anywhere tcp dpt:telnet flags:SYN,RST,ACK/SYN
    ACCEPT udp -- anywhere anywhere udp spts:bootps:bootpc dpts:bootps:bootpc
    ACCEPT udp -- anywhere anywhere udp spts:bootps:bootpc dpts:bootps:bootpc
    ACCEPT all -- anywhere anywhere
    REJECT tcp -- anywhere anywhere tcp dpts:0:1023 flags:SYN,RST,ACK/SYN reject-with icmp-port-unre
    achable
    REJECT tcp -- anywhere anywhere tcp dpt:nfs flags:SYN,RST,ACK/SYN reject-with icmp-port-unreacha
    ble
    REJECT udp -- anywhere anywhere udp dpts:0:1023 reject-with icmp-port-unreachable
    REJECT udp -- anywhere anywhere udp dpt:nfs reject-with icmp-port-unreachable
    REJECT tcp -- anywhere anywhere tcp dpts:x11:6009 flags:SYN,RST,ACK/SYN reject-with icmp-port-un
    reachable
    REJECT tcp -- anywhere anywhere tcp dpt:xfs flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable


    i am a freshman for the linux and ISPConfig, so i don't know what those infomation means :confused: , check it for me please, thanks a lot!
     
  7. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    This means that there's already a firewall running on your system, and I think it's blocking port 81. Try to stop the firewall, I guess there's a firewall init script in /etc/init.d which allows you to stop the firewall.
     
  8. driftguy

    driftguy New Member

    :) :D
    yes!!! i stop the firewall, it does work!!
    thank you very much!!!! bow!
     

Share This Page