local connect

Discussion in 'General' started by Statskij, Sep 30, 2010.

  1. Statskij

    Statskij New Member

    Hello.
    On my server doesn't work local connect on port 80.
    When I used Apache connect works fine
    Code:
    wget http://127.0.0.1
    --2010-09-30 11:41:31--  http://127.0.0.1/
    Connecting to 127.0.0.1:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 111 [text/html]
    Saving to: `index.html'
    but when I switch to LiteSpeed connect doesn't work.
    Code:
    wget http://127.0.0.1
    --2010-09-30 11:42:27--  http://127.0.0.1/
    Connecting to 127.0.0.1:80... connected.
    HTTP request sent, awaiting response... 
    Please help me.
  2. NiteWave

    NiteWave Administrator

    can you explain more about how you switch to LiteSpeed?
  3. Statskij

    Statskij New Member

    I switch to LiteSpeed via Plugin for WHM v0.2.0
  4. NiteWave

    NiteWave Administrator

    WHM v0.2.0 ? current version is WHM 11.25. then it should be the WHM version too old.
  5. Statskij

    Statskij New Member

    I used WHM 11.26.8:)

    Code:
    This plugin is developed by Lite Speed Technologies, cPanel is not responsible for support.
    Please contact litespeedtech.com for all related questions and issues.
    
    LiteSpeed web server Plugin for [B]WHM v0.2.0[/B]
  6. NiteWave

    NiteWave Administrator

    :)

    check if litespeed is listening to port 80 after switch: list output of
  7. Statskij

    Statskij New Member

    Yes.
    Code:
    root@c2 [~]# netstat -ntlp
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
    tcp        0      0 127.0.0.1:11553             0.0.0.0:*                   LISTEN      22137/MailWatch SQL 
    tcp        0      0 0.0.0.0:2082                0.0.0.0:*                   LISTEN      6488/cpsrvd - waiti 
    tcp        0      0 0.0.0.0:2083                0.0.0.0:*                   LISTEN      6488/cpsrvd - waiti 
    tcp        0      0 0.0.0.0:2086                0.0.0.0:*                   LISTEN      6488/cpsrvd - waiti 
    tcp        0      0 0.0.0.0:2087                0.0.0.0:*                   LISTEN      6488/cpsrvd - waiti 
    tcp        0      0 0.0.0.0:7080                0.0.0.0:*                   LISTEN      18930/litespeed (ls 
    tcp        0      0 0.0.0.0:3306                0.0.0.0:*                   LISTEN      3619/mysqld         
    tcp        0      0 0.0.0.0:2095                0.0.0.0:*                   LISTEN      6488/cpsrvd - waiti 
    tcp        0      0 xxx.xxx.xxx.144:80           0.0.0.0:*                   LISTEN      18930/litespeed (ls 
    tcp        0      0 xxx.xxx.xxx..191:80          0.0.0.0:*                   LISTEN      18930/litespeed (ls 
    tcp        0      0 xxx.xxx.xxx..190:80          0.0.0.0:*                   LISTEN      18930/litespeed (ls 
    tcp        0      0 xxx.xxx.xxx..189:80          0.0.0.0:*                   LISTEN      18930/litespeed (ls 
    tcp        0      0 xxx.xxx.xxx..188:80          0.0.0.0:*                   LISTEN      18930/litespeed (ls 
    tcp        0      0 xxx.xxx.xxx..187:80          0.0.0.0:*                   LISTEN      18930/litespeed (ls 
    tcp        0      0 xxx.xxx.xxx..186:80          0.0.0.0:*                   LISTEN      18930/litespeed (ls 
    tcp        0      0 xxx.xxx.xxx..185:80          0.0.0.0:*                   LISTEN      18930/litespeed (ls
    tcp        0      0 127.0.0.1:80                0.0.0.0:*                   LISTEN      18930/litespeed (ls  
    Last edited: Sep 30, 2010
  8. NiteWave

    NiteWave Administrator

    ok. it looks litespeed is listening 127.0.0.1:80, but no response. what's the output page when switching to apache?
  9. Statskij

    Statskij New Member

    Code:
    root@c2 [~]# wget http://127.0.0.1
    --2010-09-30 13:11:26--  http://127.0.0.1/
    Connecting to 127.0.0.1:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 111 [text/html]
    Saving to: `index.html.1'
    
    100%[==================================================================================================>] 111         --.-K/s   in 0s      
    
    2010-09-30 13:11:26 (17.6 MB/s) - `index.html.1' saved [111/111]
    Code:
    root@c2 [~]# lynx http://127.0.0.1
    
    
       REFRESH(0 sec): http://127.0.0.1/cgi-sys/defaultwebpage.cgi
    
    
    
    Commands: Use arrow keys to move, '?' for help, 'q' to quit, '<-' to go back.
      Arrow keys: Up and Down to move.  Right to follow a link; Left to go back.
     H)elp O)ptions P)rint G)o M)ain screen Q)uit /=search [delete]=history list 
  10. Statskij

    Statskij New Member

    When use litespeed there is no connection ewen if I connect locally on ip server.

    Code:
    root@c2 [~]# wget http://173.xxx.xxx.82
    --2010-09-30 13:19:15--  http://173.xxx.xxx.82/
    Connecting to 173.xxx.xxx.82:80... connected.
    HTTP request sent, awaiting response...

    Code:
    root@c2 [~]# netstat -ntlp |grep 173.xxx.xxx.82
    tcp        0      0 173.xxx.xxx.82:80           0.0.0.0:*                   LISTEN      28258/litespeed (ls 
    tcp        0      0 173.xxx.xxx.82:443          0.0.0.0:*                   LISTEN      28258/litespeed (ls 
  11. NiteWave

    NiteWave Administrator

    how about accessing lsws admin console? :7080
  12. Statskij

    Statskij New Member

    Access to lsws admin doesn't work.

    Code:
    root@c2 [~]# lynx http://127.0.0.1:7080
    
    
    root@c2 [~]# lynx http://173.xxx.xxx.82:7080
  13. Statskij

    Statskij New Member

    Do you have any ideas?
  14. Statskij

    Statskij New Member

    When I open local cPanel this link works fine:
    Code:
    lynx http://127.0.0.1:2083
  15. NiteWave

    NiteWave Administrator

    not sure what's problem. but can you download latest 4.0.17 to see if any difference.
  16. Statskij

    Statskij New Member

    When 4.0.17 will be released?
  17. Statskij

    Statskij New Member

    I've installed Litespeed 4.0.17 but local connect still doesn't work.
  18. NiteWave

    NiteWave Administrator

    please PM me the root access of your server if ok with you.
  19. Statskij

    Statskij New Member

    Has sent access.
  20. NiteWave

    NiteWave Administrator

    ok. checked. same behavior under apache:
    while 127.0.0.1:7080 looks to be blocked, from outside xxx.xxx.xxx.xxx:7080 is accessible.

    so it looks like your firewall's setting's issue. 127.0.0.1:80 is blocked.

Share This Page