Skip to content

Python HTTP server is reachable locally but Android device cannot access hosted files consistently #532

Description

@Ir786106

Environment

  • OS: Kali Linux
  • Python: Python 3.13
  • Virtualization: VMware (Bridged Network)
  • Server: python3 -m http.server 8080

Problem

I started a Python HTTP server on my Kali VM using:

python3 -m http.server 8080

The server starts successfully and listens on port 8080.

My Kali VM IP address is:

192.168.x.x

My Android phone's IP address is:

192.168.x.x

Both devices are connected to the same Wi-Fi network.

I verified the following:

  • The server is running successfully.
  • curl http://192.168.x.x:8080 works correctly on the Kali VM.
  • The Android device can ping the Kali VM.
  • VMware networking is configured as Bridged.
  • A simple test file (test.txt) hosted by the HTTP server is accessible from the Android phone.

Expected Behavior

The Android device should be able to consistently access files served by the Python HTTP server.

Additional Information

  • Port 8080 is listening on 0.0.0.0.
  • No obvious network connectivity issues are present.
  • Local connectivity appears to be working correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions