local connect

Statskij

Active Member
#1
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.
 

Statskij

Active Member
#5
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]
 

Statskij

Active Member
#7
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:

Statskij

Active Member
#9
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
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
 

NiteWave

Administrator
#20
ok. checked. same behavior under apache:
~>wget 127.0.0.1
--2010-10-01 15:50:22-- http://127.0.0.1/
Connecting to 127.0.0.1:80... connected.
HTTP request sent, awaiting response...
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.
 
Top