If the port is in use then its in use... nothing much nginx can do about that.
You need to find out who's using that port or why it's blocked from being used.
netstat -aln | grep portnumber
It might also be possible that you can't run 2 instances of nginx on the same machine. Kill all nginx instances and run your config to see if this might be the case.
You need to find out who's using that port or why it's blocked from being used.
netstat -aln | grep portnumber
It might also be possible that you can't run 2 instances of nginx on the same machine. Kill all nginx instances and run your config to see if this might be the case.