I have successfully installed XAMPP 1.5.3 following this guide on Ubuntu 12.04 and it started with no errors.
$ sudo /opt/lampp/lampp start
Starting XAMPP for Linux 1.5.3a...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.
But when I open http://localhost/ or http://127.0.0.1/ in Firefox I get the Unable to connect error.
After I turned out to be unsuccessful, I changed the port in httpd.conf as described here from 80 to 81 and attempted to open http://localhost:81/ and http://127.0.0.1:81/, but I got the same result.
Edit
The output of netstat -tlnp:
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:3306 0.0.0.0:* LISTEN 23369/mysqld
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 23352/proftpd: (acc
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 20196/dnsmasq
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 929/cupsd
tcp6 0 0 ::1:631 :::* LISTEN 929/cupsd
tcp6 0 0 ::1:44166 :::* LISTEN 23848/java

sudo netstat -tlnpso we can see the open ports. – Eric Carvalho Jul 17 '12 at 13:57http://localhostshould be all thats needed from default web browser – damien Jul 17 '12 at 15:00