Hunter275 / webiopi

Automatically exported from code.google.com/p/webiopi
0 stars 0 forks source link

Address already in use #77

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.
...

WebIOPi version used?
=>0.6.0

Python version used?
=>26

Distro used? (WebIOPi has only been tested on Raspbian Wheezy)
=>Raspbian

Raspberry Pi board revision? (1 or 2)
=>2

For Javascript side bugs, Browser?
=>Chrome

Please provide any additional information below.
Had an older version which worked fine then downloaded 0.6.0 and deleted old 
version
Now comes up with 'socket.error: [Errno 98] Address already in use'

Original issue reported on code.google.com by samuel.l...@gmail.com on 21 Jan 2014 at 8:26

GoogleCodeExporter commented 9 years ago
You should stop webiopi before removing/upgrading it.
Reboot your pi.

Original comment by tro...@trouch.com on 22 Jan 2014 at 2:53

GoogleCodeExporter commented 9 years ago
rebooted and still doesn't work

Original comment by samuel.l...@gmail.com on 22 Jan 2014 at 5:11

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
use "sudo netstat -antp" and "sudo ps aux" to find out which process is using 
your port 8000 then kill it / change config.

Original comment by tro...@trouch.com on 22 Jan 2014 at 7:07

GoogleCodeExporter commented 9 years ago
I think you need to rewrite a bit your custom webiopi script.
See https://code.google.com/p/webiopi/wiki/Tutorial_Basis
You don't need to instantiate webiopi Server in your script.

Original comment by tro...@trouch.com on 23 Jan 2014 at 2:41