Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I was stumbled upon a problem, I followed up the tutorial from howtoforge to set up a web server (The perfect server running Ubuntu Server 11.10) to be able to host some Java Web Applications. So I installed all the necessary applications from this tutorial, but at the end I can't access ISPConfig from the browser of another PC. The Tomcat working just fine on port 8080 accessing it on 192.168.10.88:8080, so I set up the ISPConfig to work on port 8081, but I can't access it from 192.168.10.88:8081, and I can't understand where the problem come from, here is that part http://www.howtoforge.com/perfect-server-ubuntu-11.10-ispconfig-3-p6 .

So really I need your help guys, I can't get rid of this problem, this is my first server setup :)

The uotput of netstat -antp:

enter image description here

The output of iptable --list -n -v:

enter image description here

share|improve this question
    
you can make a pastebin, or edit your question to add that information. Also you can obscure any identifying IPs beforehand. –  Tom H Apr 26 '12 at 9:41

2 Answers 2

First check these are running on 192.168.10.88 by pasting the output of netstat -antp like so;

# netstat -lntp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
tcp        0      0 0.0.0.0:7022                0.0.0.0:*                   LISTEN      30381/sshd          
tcp        0      0 0.0.0.0:10000               0.0.0.0:*                   LISTEN      7677/perl           

Then check that these should be accessible from other hosts on the network, by showing the firewall rules like so;

# iptables --list -n -v
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
1055K  433M RH-Firewall-1-INPUT  all  --  *      *       0.0.0.0/0            0.0.0.0/0              

Chain OUTPUT (policy ACCEPT 833K packets, 153M bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain RH-Firewall-1-INPUT (2 references)
 pkts bytes target     prot opt in     out     source               destination         
 1035  237K ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0           

   75  6096 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0           icmp type 255 
 342K  166M ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED 
   97  4836 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:22 
 1235 59660 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           
  107  5328 REJECT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 
share|improve this answer
    
I edited first post with the outputs of each command :) –  Denees Apr 26 '12 at 9:56
    
so from the first post, you can see that tomcat is running, ie is listening on port 8080, but ISPConfig is not. i.e. netstat -lntp | grep 8081 hence either its listening on some other port, or more likely it failed to start. –  Tom H Apr 26 '12 at 10:03
    
According to thispost the ispconfig log file is here; /home/admispconfig/ispconfig/ispconfig.log but you might have to dig about in order to paste the output to your question. –  Tom H Apr 26 '12 at 10:04
    
So 'netstat -lntp | grep 8081' is giving me no results at all, or do I not understand what to do? sorry, I am new to server config :) –  Denees Apr 26 '12 at 10:13
    
yep, so ISPConfig is not running. Did you run the installer?, what was the output? have you tried to restart ISPConfig and what was the result, and was there anything in the log file mentioned above? –  Tom H Apr 26 '12 at 10:27

I highly recommend running tomcat on port 8081 and leave ispconfig on 8080.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.