SABnzbd is refusing to run on port 80 unless...

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
marrawan
Newbie
Newbie
Posts: 5
Joined: September 28th, 2012, 11:42 pm

SABnzbd is refusing to run on port 80 unless...

Post by marrawan »

Hello,
Got a weird problem here.

My config
Windows Server 2008 with all latest updates.
SABbzbd v0.7.4RC2 (Problem occurs also with v0.7.3)
1 NIC with several IPs
SABbzbd was installed using Windows Installer EXE downloaded from SF
Using buult-in Windows firewall
Not using IPv6 (although protocol is installed)


I wanted to run SABnzbd on port 80 using an IP dedicated to SABnzbd, I have orher programs running on port 80 but
with different IPs (utorrent WebUI and Apache among others), All other programs run just fine, Each one listens to
port 80 on its dedicated IP with no problems except SABnzbd!.

I have setup a DNS record for SABnzbd IP and used this DNS name as a SABnzbd Host entry value in Config like this

SABnzbd Host : nzb.MyServerDomainName.com
SABnzbd Port :80

When i start SABnzbd with this config it changes its port to 85 instead of 80 and save port 85 to sabnzbd.ini.
I'm 100% sure that nothing is listening on port 80 of SABnzbd dedicated IP yet SABnzbd refuses to run on that
port!, weird!

After a lot of checking I've found that SABnzbd will only run on port 80 if no other programs are listening
on port 80 even if they use different IPs. So i have to manually shutdown all port 80 listening programs,
then start SABnzbd, After that start the other programs again.

I tried the -s switch but norhing worked!, The problem persist even when i used the numeric IP address
as a value to SABnzbd Host option.

Any ideas how to solve this problem are appreciated

Thanks!
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd is refusing to run on port 80 unless...

Post by shypike »

Using a numeric IP is the only way this could ever work.
Go to Config->Special and set the option "no_ipv6" on.
Then restart.
marrawan
Newbie
Newbie
Posts: 5
Joined: September 28th, 2012, 11:42 pm

Re: SABnzbd is refusing to run on port 80 unless...

Post by marrawan »

I'm afraid it doesn't work even when using numeric IP as I already stated in my original message:
quote myself
The problem persist even when i used the numeric IP address
as a value to SABnzbd Host option.
As fore IPv6 tip, I ticked the no_ipv6 option, then reconfigured SABnzbd to use a numeric IP and port 80,
Restarted it, Same problem, SABnzbd still switching to port 85.

When looking at the no_ipv6 option I noticed this

Image

Even when the option is ticked still it says "off" next to it?
I don't know bu i think this is unexpected, it should say "on" like the keep_awake option. However sabnzbd.ini entry is

Code: Select all

no_ipv6 = 1
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd is refusing to run on port 80 unless...

Post by sander »

What is the output of

Netstat -aon | find "80"

... Syntax might be different. See the faq for exact windows syntax.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd is refusing to run on port 80 unless...

Post by shypike »

marrawan wrote:Even when the option is ticked still it says "off" next to it?
I don't know but i think this is unexpected, it should say "on" like the keep_awake option.
Explanation at the top of the page.
The default values are between parentheses.
marrawan
Newbie
Newbie
Posts: 5
Joined: September 28th, 2012, 11:42 pm

Re: SABnzbd is refusing to run on port 80 unless...

Post by marrawan »

Screen shot of all listening programs on all available IP:port

xxx.xxx.193.67 is dedicated to SABnzbd only, No any other programs listen to any port on this IP.
its exclusively for SABnzbd use only. Screen shot shows SABnzbd is listening on port 85.

Image
marrawan
Newbie
Newbie
Posts: 5
Joined: September 28th, 2012, 11:42 pm

Re: SABnzbd is refusing to run on port 80 unless...

Post by marrawan »

shypike wrote:
marrawan wrote:Even when the option is ticked still it says "off" next to it?
I don't know but i think this is unexpected, it should say "on" like the keep_awake option.
Explanation at the top of the page.
The default values are between parentheses.
Thanks for clearing that out.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd is refusing to run on port 80 unless...

Post by shypike »

You have something listening on 0.0.0.0:80, this means port 80 on all available interfaces.
This means that SABnzbd cannot use port 80 on any interface.
marrawan
Newbie
Newbie
Posts: 5
Joined: September 28th, 2012, 11:42 pm

Re: SABnzbd is refusing to run on port 80 unless...

Post by marrawan »

You're right!
I checked again and found what causes the problem.
Although I've setup utorrent correctly to its own IP it turns out that it still
ignores my settings and bind itself to all IPs.
I'm going to utorrent to check for help there.
And, BTW, SABnzbd running good with the DNS name, No direct numeric IP input is needed.

Thanks for your help really appreciated.
Post Reply