Can't establish connection to server at localhost:8080

Asked by Motion_Noob on 2008-11-26

I've restarted Motion, and I'd like to control it now. In Firefox, both http://localhost:8080 and return a "can't establish connection to the server" error.

Does restarting Motion automatically restart the webserver?

If not, how can I restart the webserver Motion is using in Ubuntu?

Question information

English Edit question
Ubuntu motion Edit question
No assignee Edit question
Last query:
Last reply:

please check if it is running and binded to the port:
$ ls /var/run
$ sudo netstat -pluta

Motion_Noob (motion-noob) said : #2

Pluta? Or puta ?

Motion_Noob (motion-noob) said : #3

Here are my results:

john@john-UBU-desktop:~$ ls /var/run

acpid.socket dbus pppconfig screen
avahi-daemon gdm_socket sdp
console hald sendsigs.omit
ConsoleKit klogd sudo motd network
crond.reboot utmp
cups PolicyKit

john@john-UBU-desktop:~$ sudo netstat -puta

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost:ipp *:* LISTEN 4622/cupsd
udp 0 0 *:43969 *:* 4577/avahi-daemon:
udp 0 0 *:mdns *:* 4577/avahi-daemon:

Firefox still returns a "Firefox can't establish a connection to the server at localhost:8080 .

i cant see motion running or the port binded.

please try:
$ sudo /etc/init.d/motion stop
$ sudo /etc/init.d/motion start

Can you help with this problem?

Provide an answer of your own, or ask Motion_Noob for more information if necessary.

To post a message you must log in.