Take the 2-minute tour ×

I am trying to start my webhttrack on ubuntu 12.04 precise pangolin but all i get is the opening screen. When i press any button on the page it gives me the following errors:

Oops! Google Chrome could not connect to barney:8081
Try reloading: barney:Â­8081/Â­server/Â­step2.Â­html

i tried to run from a terminal window and get the output here:

/usr/bin/webhttrack(4405:( launching /usr/bin/x-www-browser
/usr/bin/webhttrack(4405:( spawning regular browser..
Created new window in existing browser session.
/usr/bin/webhttrack(4405:( browser exited
/usr/bin/webhttrack: line 167:  4422 Killed                 
${BINPATH}/htsserver "${DISTPATH}/" path "${HOME}/websites" lang "${LANGN}"

If anyone can help me i appreciate it.

share|improve this question
Try running http://yourHostname:8080/server/index.html in your browser. –  tijybba Jun 29 '12 at 15:20
Your hostname means run hostname in terminal , copy that name and replace that in yourhostname in above address. –  tijybba Jun 30 '12 at 2:31
add comment

3 Answers

up vote 1 down vote accepted

I had the same bug.

It seems that after editing


and commenting all the lines like :

#Listen 8080
#NameVirtualHost *:8080

and :

sudo service apache2 restart

it works.

I don't have the time to play around and investigate the bug more than that

PS: Before that I also installed the last quantal version but it didn't change a thing

share|improve this answer
hum, bug again it seems the problem is with using chrome, using firefox is ok –  abuhurayra Aug 28 '12 at 15:25
add comment

For me the problem was using chrome/chromium.

As described here, i hardcoded firefox in the webhttrack script:

sudo vim /usr/bin/webhttrack

and modified the first line into:


works like a charm after!

share|improve this answer
add comment

You can use firefox instead of chrome. Interestingly, you don't even need to use firefox as long as you open it. (Would be interested to know why this could be.) My default browser is chrome and webhtttrack won't open there unless firefox is open as well.

share|improve this answer
add comment

Your Answer


