Skip to content

HTTP Server with Dual Interfaces #38

@DaneSlattery

Description

@DaneSlattery

I have an ESP32s3 running Ethernet via EspSpiEth() and a WiFi Access Point.

When I first connect my laptop to the AP over WiFI, I can connect to the HTTP server and make requests.

When I then connect my laptop to an ethernet switch, I can no longer make any requests to the HTTP server, and I get responses like:
Error: read ECONNRESET

When I then re-connect my laptop to the AP over WiFi, all subsequent requests return
Error: read ECONNRESET.

I discovered this while trying to get the EspMdns() service to respond to the host name.local on all network interfaces (WIFI_STA, WIFI_AP, ETH_CL).

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