IOError: Port 8080 not free

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
PedN
Newbie
Newbie
Posts: 2
Joined: May 28th, 2016, 6:40 pm

IOError: Port 8080 not free

Post by PedN »

Hi

Long time user of Sab here, never had any serious errors before that i wasn't able to fix myself, but I have no idea where to start with this.

I Just upgraded from 0.7.x to 1.0.2 and now sabnzbd crashes within seconds.
It seems to have nothing to do with the actual port number cause changing it, gives the same error.

Not sure what you need for debugging other than the log, so please just ask and I will find it.
I have tried deleting the config and that seems to remove the error, but since I have used sab for 5+ years now my config is rather long and would really hate having to reconstruct it all from scratch.

Anyway thank you for this awesome piece of software!

Code: Select all

2016-05-29 01:36:03,207::INFO::[SABnzbd:1243] --------------------------------
2016-05-29 01:36:03,207::INFO::[SABnzbd:1244] SABnzbd.exe-1.0.2 (rev=b7e2bd96844d85623458ea5ad02432becdb199e5)
2016-05-29 01:36:03,207::INFO::[SABnzbd:1245] Full executable path = C:\Program Files (x86)\SABnzbd\SABnzbd.exe
2016-05-29 01:36:03,209::INFO::[SABnzbd:1253] Platform=Windows-7-6.1.7601-SP1 (=Vista+ x64) Class=nt
2016-05-29 01:36:03,209::INFO::[SABnzbd:1258] Python-version = 2.7.11 (v2.7.11:6d1b6a68f775, Dec  5 2015, 20:32:19) [MSC v.1500 32 bit (Intel)]
2016-05-29 01:36:03,210::INFO::[SABnzbd:1259] Arguments = "C:\Program Files (x86)\SABnzbd\SABnzbd.exe"
2016-05-29 01:36:03,210::INFO::[SABnzbd:1261] Preferred encoding = cp1252
2016-05-29 01:36:03,210::INFO::[SABnzbd:1309] Read INI file C:\Users\Admin\AppData\Local\sabnzbd\sabnzbd.ini
2016-05-29 01:36:03,213::INFO::[__init__:965] Loading data for rss_data.sab from C:\Users\Admin\AppData\Local\sabnzbd\admin\rss_data.sab
2016-05-29 01:36:03,213::INFO::[__init__:965] Loading data for totals10.sab from C:\Users\Admin\AppData\Local\sabnzbd\admin\totals10.sab
2016-05-29 01:36:03,214::INFO::[postproc:89] Loading postproc queue
2016-05-29 01:36:03,214::INFO::[__init__:965] Loading data for postproc2.sab from C:\Users\Admin\AppData\Local\sabnzbd\admin\postproc2.sab
2016-05-29 01:36:03,216::INFO::[__init__:965] Loading data for queue10.sab from C:\Users\Admin\AppData\Local\sabnzbd\admin\queue10.sab
2016-05-29 01:36:03,217::INFO::[__init__:965] Loading data for watched_data2.sab from C:\Users\Admin\AppData\Local\sabnzbd\admin\watched_data2.sab
2016-05-29 01:36:03,217::INFO::[__init__:965] Loading data for Rating.sab from C:\Users\Admin\AppData\Local\sabnzbd\admin\Rating.sab
2016-05-29 01:36:03,250::INFO::[scheduler:190] Setting schedule for midnight BPS reset
2016-05-29 01:36:03,250::INFO::[downloader:241] Resuming
2016-05-29 01:36:03,250::INFO::[__init__:350] All processes started
2016-05-29 01:36:03,250::INFO::[SABnzbd:355] Web dir is C:\Program Files (x86)\SABnzbd\interfaces\Plush
2016-05-29 01:36:03,250::INFO::[SABnzbd:355] Web dir is C:\Program Files (x86)\SABnzbd\interfaces\Mobile
2016-05-29 01:36:03,250::WARNING::[SABnzbd:362] Cannot find web template: C:\Program Files (x86)\SABnzbd\interfaces\Mobile\templates\main.tmpl, trying standard template
2016-05-29 01:36:03,250::INFO::[SABnzbd:355] Web dir is C:\Program Files (x86)\SABnzbd\interfaces\Config
2016-05-29 01:36:03,276::INFO::[SABnzbd:483] _yenc module... found!
2016-05-29 01:36:03,276::INFO::[SABnzbd:491] par2 binary... found (C:\Program Files (x86)\SABnzbd\win\par2\x64\par2.exe)
2016-05-29 01:36:03,276::INFO::[SABnzbd:496] par2-classic binary... found (C:\Program Files (x86)\SABnzbd\win\par2\par2-classic.exe)
2016-05-29 01:36:03,276::INFO::[SABnzbd:499] UNRAR binary... found (C:\Program Files (x86)\SABnzbd\win\unrar\x64\UnRAR.exe)
2016-05-29 01:36:03,276::INFO::[SABnzbd:505] unzip binary... found (C:\Program Files (x86)\SABnzbd\win\unzip\unzip.exe)
2016-05-29 01:36:03,276::INFO::[SABnzbd:511] 7za binary... found (C:\Program Files (x86)\SABnzbd\win\7zip\7za.exe)
2016-05-29 01:36:03,276::INFO::[SABnzbd:527] pyOpenSSL... found (True)
2016-05-29 01:36:03,276::INFO::[SABnzbd:1372] SSL version OpenSSL 1.0.1q 3 Dec 2015
2016-05-29 01:36:03,276::INFO::[SABnzbd:1373] pyOpenSSL version 0.13.12
2016-05-29 01:36:03,276::INFO::[SABnzbd:1374] SSL potentially supported protocols ['SSLv2', 'SSLv23', 'SSLv3', 'TLSv1', 'TLSv1_1', 'TLSv1_2']
2016-05-29 01:36:03,276::INFO::[SABnzbd:1375] SSL actually supported protocols ['t12', 't11', 't1', 'v23', 'v3', 'v2']
2016-05-29 01:36:03,279::INFO::[SABnzbd:1522] Starting web-interface on 0.0.0.0:8080
2016-05-29 01:36:06,278::INFO::[_cplogging:216] [29/May/2016:01:36:06] ENGINE Bus STARTING
2016-05-29 01:36:06,286::INFO::[_cplogging:216] [29/May/2016:01:36:06] ENGINE Started monitor thread '_TimeoutMonitor'.
2016-05-29 01:36:06,487::INFO::[_cplogging:216] [29/May/2016:01:36:06] ENGINE Serving on http://0.0.0.0:8080
2016-05-29 01:36:11,542::ERROR::[_cplogging:216] [29/May/2016:01:36:11] ENGINE Error in 'start' listener <bound method ServerAdapter.start of <cherrypy.process.servers.ServerAdapter object at 0x0304C3F0>>
Traceback (most recent call last):
  File "cherrypy\process\wspbus.pyo", line 205, in publish
  File "cherrypy\process\servers.pyo", line 170, in start
  File "cherrypy\process\servers.pyo", line 439, in wait_for_free_port
IOError: Port 8080 not free on '192.168.1.100'

2016-05-29 01:36:11,542::ERROR::[_cplogging:216] [29/May/2016:01:36:11] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
  File "cherrypy\process\wspbus.pyo", line 243, in start
  File "cherrypy\process\wspbus.pyo", line 223, in publish
ChannelFailures: IOError("Port 8080 not free on '192.168.1.100'",)

2016-05-29 01:36:11,542::INFO::[_cplogging:216] [29/May/2016:01:36:11] ENGINE Bus STOPPING
2016-05-29 01:36:11,543::INFO::[_cplogging:216] [29/May/2016:01:36:11] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('192.168.1.100', 8080)) already shut down
2016-05-29 01:36:17,266::INFO::[_cplogging:216] [29/May/2016:01:36:17] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) shut down
2016-05-29 01:36:17,266::INFO::[_cplogging:216] [29/May/2016:01:36:17] ENGINE Stopped thread '_TimeoutMonitor'.
2016-05-29 01:36:17,267::INFO::[_cplogging:216] [29/May/2016:01:36:17] ENGINE Bus STOPPED
2016-05-29 01:36:17,267::INFO::[_cplogging:216] [29/May/2016:01:36:17] ENGINE Bus EXITING
2016-05-29 01:36:17,267::INFO::[_cplogging:216] [29/May/2016:01:36:17] ENGINE Bus EXITED
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: IOError: Port 8080 not free

Post by sander »

On Windows, so you can try this:

Code: Select all

"c:\program files (x86)\SABnzbd\sabnzbd.exe" -s 127.0.0.1:8080
PedN
Newbie
Newbie
Posts: 2
Joined: May 28th, 2016, 6:40 pm

Re: IOError: Port 8080 not free

Post by PedN »

It works now. Thank you

Tried setting it back to 0.0.0.0 so I can access it from my laptop, but that resulted in the same error.
But setting the SABnzbd Host to empty seems to make it work.

So is setting the SABnzbd to 0.0.0.0 broken in the new version or is something else going on?

Anyway thank you very much for your time
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: IOError: Port 8080 not free

Post by sander »

So is setting the SABnzbd to 0.0.0.0 broken in the new version
No, but apparently it does not work for you.

or is something else going on?
A firewall on your Windows system?

And: what happens when you fill the LAN IP address as SABnzbd Host? Find you LAN IP address with "ipconfig".

(FYI: as of SABnzbd 1.0.0, the problem can't be IPv6 anymore)
User avatar
safihre
Administrator
Administrator
Posts: 5338
Joined: April 30th, 2015, 7:35 am
Contact:

Re: IOError: Port 8080 not free

Post by safihre »

And maybe restarting the computer?

Also you note that starting with a new Config removes the problem, interesting! So if you start again with a new Config, the 0.0.0.0 does work and you can see it from other laptop?

Maybe you have some Special set?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply