I have a rooted device, and other programs run on port 80.
I am trying to set up a server from example:
and I get error on line 3
java.net.BindException: bind failed: EACCES (Permission denied)
What permissions do you need to give a program to have access to port 80?
I am trying to set up a server from example:
Embed an Http Server in your Android Application
The HttpServer library is a new library, based on an open source project named Jetty. This library allows you to easily embed an Http server in your application. Http server means that you can point a browser to the device IP address (and relevant port) and communicate with your app. It can be...
www.b4x.com
and I get error on line 3
java.net.BindException: bind failed: EACCES (Permission denied)
B4X:
Sub Service_Create
server.Initialize("Server")
server.Start(80)
templates.Initialize
Dim n As Notification
n.Initialize
n.Icon = "icon"
n.SetInfo("Http Server is running", "", Main)
Service.StartForeground(1, n)
End Sub