Skip to content

mDNS stops working on android after a while #9051

Closed
@Dante1349

Description

@Dante1349

Board

esp32-s3-devkitc-1

Device Description

its only the plain board atm because i was moving fromd1 mini to the esp32 board.

Hardware Configuration

nothing

Version

2.0.14

IDE Name

platformio

Operating System

android

Flash frequency

default

PSRAM enabled

no

Upload speed

11520

Description

my issue here is familiar with: #4406. But it keeps working for my laptops and desktops, but my phone is not able to resolve the mDNS adress after some time.

Sketch

if (!MDNS.begin(hostname)) {
        Serial.println("Error setting up MDNS responder!");
    } else {
        Serial.println("mDNS responder started. Address: " + hostname + ".local");
    }

    MDNS.addService("http", "tcp", 80);

Debug Message

no error message or warning.

Other Steps to Reproduce

start the server, wait a while and try to connect via mdns resolution

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions