Linode Forum Index Linode Forum
Linode Community Forums
 


178.79.180.194: Connection refused

Click here to go to the original topic

 
       Linode Forum Index -> Linux Networking
Author Message
richhorn



Joined: 10 Dec 2011
Posts: 5

Posted: Mon Dec 12, 2011 4:09 am    Post subject: 178.79.180.194: Connection refused  

Hi,

It was all working fine when I finished yesterday.
But now I can't access via HTTP at all.

My .htaccess is empty, as it was yesterday.
I really haven't changed anything in the default apache install, apart from adding a couple of virtual hosts after which it was all working fine.

Konqueror returns '178.79.180.194: Connection refused'

Windows (meh) diagnostics returns;
'The device or resource 178.70.180.194 is not set up to accept connections on port "The World Wide Web service(HTTP)" '

Can anyone suggest a reason for this, please?

EDIT;
An install of ISPConfig failed yesterday, and I haven't yet got it to install properly.
Perhaps that is related, does ISPConfig mess with your settings (even before the install hangs :?
Back to top  
obs



Joined: 07 Mar 2010
Posts: 1403
Location: Earth

Posted: Mon Dec 12, 2011 6:56 am    Post subject:  

Sounds like your webserver isn't running or at least listening on that port.

1) Try restarting your web server
2) If that doesn't work what's the output of netstat -lpnt say?
Back to top  
The Other Air Force



Joined: 02 Aug 2011
Posts: 23

Posted: Mon Dec 12, 2011 10:31 am    Post subject:  

ISPConfig does install or change firewall scripts. It may have changed your IPTables. iptables -L and see if port 80 is open. Although I believe port 80 is open by default. ISPConfig may have failed before it opened the port again.
Back to top  
richhorn



Joined: 10 Dec 2011
Posts: 5

Posted: Mon Dec 12, 2011 10:57 am    Post subject: Oh dear...  

Thanks @obs and @The Other Air Force.

Tried server restart but still the same.

I can't even log in via ssh.

I think it must be the ISPconfig install fail.
I followed the docs on here, but notice that it says somewhere that they don't always work.

I think best plan is to flatten entire install and do it again.
Ho hum.

Thanks again for your help, guys.
Back to top  
The Other Air Force



Joined: 02 Aug 2011
Posts: 23

Posted: Mon Dec 12, 2011 11:03 pm    Post subject:  

Try logging in with Lish and see if you can fix it up. The Linode directions are inaccurate for ISPConfig. The developers specifically stated in their forums that Linodes instructions will most likely result in a broken installation. It's likely all firewall trouble. Try logging in and flushing iptables and see if you can ssh in then. Keep in mind that doing so will remove all your firewall rules.

If you want to start over with ISPConfig i'd recommend starting fresh if you can and googling ISPConfig + your Linux distro. You should get results from Howtoforge with a step by step. You will have to skip the first few pages because they describe installing Linux and configuring networking which Linode will have taken care of. Avoid stackscripts and just do a bare install.

If you can't start fresh try posting the results of the ISPConfig install script and the failure. You can always run the install again. Check the ISPConfig logs in /var/log and see if it mentions a particular point of failure. Its pretty good at recovering I think. Never had any big issues myself.
Back to top  
richhorn



Joined: 10 Dec 2011
Posts: 5

Posted: Tue Dec 13, 2011 3:28 am    Post subject:  

@The Other Air Force,
Thanks for your thoughtful words.

Very useful suggestions which would have been invaluable had I had to fix what I had rather than starting again. I was installing ISPconfig onto a fresh server and LAMP install, so starting again from scratch seemed the best option - it's all good practice. :)

I did try running the ISPconfig install again, but it hung at the same point.

For anyone else that finds this useful, there are instructs for ISPconfig on Ubuntu 10.04 here;
http://www.howtoforge.com/perfect-server-ubuntu-10.04-lucid-lynx-ispconfig-3-p3
Back to top  
 
       Linode Forum Index -> Linux Networking
Page 1 of 1