192.168.x.x:1500

So I have a small local server running a website. It’s not public facing at all, has a static IP address on my WiFi LAN and can be accessed by any Linux machine. I can’t see it on any iPhone or Android device though

I’ve looked up tutorials on line, ensured my firewalls allow local sharing on the WiFi, double checked I can even ping the server successfully with nmap on Android

Any tips?

::edit:: typo in post, not when searching for IP on LAN

zelifcam
link
fedilink
English
6
edit-2
1M

Your network is probably configured with inconsistent subnets / netmasks. iOS / Android are on WiFi and getting a different subnet/netmask than your severs.

Edit: What does pinging the server with nmap mean? Are you checking open ports or pinging the server? That doesn’t make sense or at least leaves us with more questions with the way you worded that. Although the nmap utility can provide both of those answers, I’m not sure that’s what you meant. Technically nmap and ping are two different tools.

@shamrockpreacher5@reddthat.com
creator
link
fedilink
English
01M

nmap -Pn 192.168.1.2

At least it shows the server is up from the client’s perspective (other clients can actively see the same IP and server on port)

Same WiFi subnet

zelifcam
link
fedilink
English
2
edit-2
1M

Same netmask?

When asking for network troubleshooting assistance, super useful to provide ANY kind of network info. So far we have WiFi and same subnet. Yet absolutely no details which are necessary to help form questions or provide answer.

Can you post the IP Netmask and Gateway of your Linux server and one of your mobile devices that can’t view the server?

Can you ssh into the Linux server from your mobile device?

@shamrockpreacher5@reddthat.com
creator
link
fedilink
English
11M

Yeah same netmask of 255.255.255.0

zelifcam
link
fedilink
English
0
edit-2
1M

Then there has to be a firewall, web server whitelist or some kind of configuration issue with the service being hosted. Because according to all your responses they are on the same WiFi with the same subnet/gateway/netmask.

@shamrockpreacher5@reddthat.com
creator
link
fedilink
English
11M

That makes sense, I’ll have to check the path. Thanks for lending your thoughts on this

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 279 users / day
  • 589 users / week
  • 1.34K users / month
  • 4.55K users / 6 months
  • 1 subscriber
  • 3.5K Posts
  • 70.1K Comments
  • Modlog