Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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, so I set up the ISPConfig to work on port 8081, but I can't access it from, and I can't understand where the problem come from, here is that part .

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

closed as off-topic by HopelessN00b Mar 8 '15 at 20:58

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the 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

First check these are running on 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      *                   LISTEN      30381/sshd          
tcp        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  --  *      *                

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     *             

   75  6096 ACCEPT     icmp --  *      *             icmp type 255 
 342K  166M ACCEPT     all  --  *      *             state RELATED,ESTABLISHED 
   97  4836 ACCEPT     tcp  --  *      *             state NEW tcp dpt:22 
 1235 59660 ACCEPT     tcp  --  *      *             
  107  5328 REJECT     all  --  *      *             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

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