How do I run my application as superuser from Eclipse?

后端 未结 9 1598
闹比i
闹比i 2020-11-29 09:35

I\'m running in to an error when I try to run my server application from Eclipse. The error is java.net.BindException: Permission denied. I think this is be

9条回答
  •  情书的邮戳
    2020-11-29 09:59

    A better answer, perhaps, if this serves your needs AND is possible, could be simple port redirection on your router.

    Instead of trying to force your linux/unix to open a reserved port, when you are only developing this now (not installing) and you want to run it in a debugger, set your router to redirect incoming (external) port 443 to a port that is more convenient for your current needs (say 4443).

    I think most routers support this, and if yours doesn't it gives your mum a good christmas or birthday present idea!

提交回复
热议问题