Unable to bind TCP incoming server socket to 80 (Address already in use: bind)

434 views Asked by At

OS: Windows 10 Application being used: Vuze

Enabled incoming port number to "80" to support HTTP seeding.

Since setting up Zookeeper and Apache Kafka. I receive this 'bind' error.

Error script

Error message

I have checked PIDs on Task Manager and run the following proc on Powershell:

$proc = @{};
Get-Process | ForEach-Object { $proc.Add($_.Id, $_) };
netstat -aon | Select-String "\s*([^\s]+)\s+([^\s]+):([^\s]+)\s+([^\s]+):([^\s]+)\s+([^\s]+)?\s+([^\s]+)" | ForEach-Object {
    $g = $_.Matches[0].Groups;
    New-Object PSObject |
        Add-Member @{ Protocol =           $g[1].Value  } -PassThru |
        Add-Member @{ LocalAddress =       $g[2].Value  } -PassThru |
        Add-Member @{ LocalPort =     [int]$g[3].Value  } -PassThru |
        Add-Member @{ RemoteAddress =      $g[4].Value  } -PassThru |
        Add-Member @{ RemotePort =         $g[5].Value  } -PassThru |
        Add-Member @{ State =              $g[6].Value  } -PassThru |
        Add-Member @{ PID =           [int]$g[7].Value  } -PassThru |
        Add-Member @{ Process = $proc[[int]$g[7].Value] } -PassThru;
#} | Format-Table Protocol,LocalAddress,LocalPort,RemoteAddress,RemotePort,State -GroupBy @{Name='Process';Expression={$p=$_.Process;@{$True=$p.ProcessName; $False=$p.MainModule.FileName}[$p.MainModule -eq $Null] + ' PID: ' + $p.Id}} -AutoSize
} | Sort-Object PID | Out-GridView

Any help would be much appreciated. I'm not an expert on ports.

  1. Should I be expecting the PID for Vuze to be "ESTABLISHED" or "LISTENING" on the Powershell output grid?

  2. Is there a way to prioritise Port 80 for Vuze? PID 0 / PID 4 (system) are shown. Is there any quick fix for this... asides from re-installing the OS?

0

There are 0 answers