0

I am trying to set up my first web server using the Raspberry Pi. I have installed nginx and when I go to the IP address of my Pi, I can see Welcome to NGINX on Debian displayed but if I go to the same exact IP address from my desktop, I cannot connect. I cannot ping the IP address either from my desktop. Both time out. I also cannot port forward because the IP address is not identifiable in the WLAN. The IP address I'm trying to reach is from the wlan0 section from running the ifconfig command. What am I doing wrong? I have network discovery on for my PC and both machines are connected to the same network. Thanks!

EDIT: desktop IP is 192.168.1.58 and Pi IP is 192.168.1.137 so it seems both are on local network

I am trying but I don't know how to debug. I looked at some posts like the ones below but none were helpful.

difficulties-accessing-my-raspberry-pi-nginx-web-server

how-to-configure-a-web-server-that-can-display-data-from-my-raspberry-pi

asked Feb 16, 2017 at 6:39
4
  • 1
    Are both the desktop and the Pi on the same subnet ? Also, routers often have a setting that isolates wifi clients from LAN clients... Commented Feb 16, 2017 at 11:57
  • Further to KennetRunner's suggestion above, it would be helpful if you could edit your question to include the local IP addresses of both the Pi and the desktop. If you can't ping the Pi from the desktop I would forget about nginx problems for the time being - the issue isn't there, it's something related to your network setup. Commented Feb 16, 2017 at 12:13
  • I am connected to the Wifi for both the PC and the Pi. The desktop's IP is 192.168.1.58 and the Pi's IP is 192.168.1.137 so it seems both are on the local network. @goobering Commented Feb 17, 2017 at 5:17
  • Could it be that the desktop is using IPv4 and the pi is using IPv6? Is inet address in IPv6? Commented Feb 17, 2017 at 5:36

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.