I've, successfully gotten my Raspberry pi to operate as a web server, by connecting it to a router, identifying the ip and then accessing that ip from a browser on the same network. My question is, is it possible to replicate a similar functionality without the router ... where the client can directly connect to the raspberry pi.


If you're connecting directly, (e.g. Ethernet cable directly from PC to raspi), there should be no issue if both devices are configured with IP addresses that are on the same subnet.

For example, raspi IP = and PC IP = and netmask for both. If a gateway needs to be configured, use However, the gateway would not exist but should not be needed for off-subnet communications.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.