I have a Windows laptop running a web server on some port - say
localhost:8000. I can access the website from the Windows laptop fine. I have a MacBook which wants to access the website being hosted on the Windows laptop. I can connect them via an Ethernet cable.
Here's what I tried:
- Started running a dummy HTTP server on Windows laptop using
python -m http.server
- Connected MacBook and Windows laptop with Ethernet cable
ipconfigon Windows and recovered the
IPv4address under the heading
Ethernet adapter Ethernet:
- Tried connecting to
<Windows IPv4>:8000from my web browser on macOS, but failed to do so (it just never connects so I'm guessing it timed out).
Any help on on how to resolve this would be much appreciated!