Spanish java.net.BindException: Permission denied

Discussion in 'Spanish Forum' started by CVR, May 9, 2019.

  1. CVR

    CVR Member Licensed User

    Hi, I'm trying to create a simple tcp server with the network library but I have the following error java.net.BindException: Permission denied.
    this is my manifest editor
    I'm using API 24

    AddManifestText(
    <uses-sdk android:minSdkVersion="5" android:targetSdkVersion="26"/>
    <supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>
    )

    SetApplicationAttribute(android:icon, "@drawable/icon")
    SetApplicationAttribute(android:label, "$LABEL$")
    CreateResourceFromFile(Macro, Themes.DarkTheme)

    AddPermission(android.permission.INTERNET)
    AddPermission(android.permission.ACCESS_WIFI_STATE)
    AddPermission(android.permission.ACCESS_NETWORK_STATE)
     
  2. Descartex

    Descartex Well-Known Member Licensed User

    José J. Aguilar and CVR like this.
  3. CVR

    CVR Member Licensed User

    Hola gracias por responder, el problema era que intente escuchar en el puerto 80 y solo puedo escuchar en puertos a partir de 1024
     
    Descartex likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice