Using the android client app and I tried to connect to my new server (first time setup). When I tap “Choose server” I can see the server name and local IP (192.168.0.5). When I tap on it, it won’t connect. What am I probably doing wrong?

Edit: the app uses a default address, although it identifies the name of the server I set up. I checked the WiFi settings on the machine and the server is 192.168.1.60. I used this and it worked immediately.

Thanks for the help! I was able to eliminate some things, and learned some important things.

  • IllNess@infosec.pub
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    2 months ago

    This was my first thought was the port number.

    OP, ping the IP address of your Android device from your server. If not, you have a networking issue. If you can ping it, probably a settings issue.

    Also, my Android phone was able to find my server automatically.

    • gedaliyah@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      What does it mean to ping? Is that a bash command? Sorry if that’s a really basic question.

      • PlasticExistence@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        2 months ago

        We all start somewhere, and none of us learn without the help of others who’ve come before us. No need to apologize for that.

        ping is a terminal (command line) utility used to check that a different machine is reachable. The name comes from the sound that sonar makes when it strikes a metal ship hull.

        Termux is the app to get on Android.

        Try it. Open up a terminal emulator / command line and do a ping google.com (or your website or local network address of choice). You’ll see the response from the other machine and how long it took to do that.

      • IllNess@infosec.pub
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 months ago

        ping is terminal or command line command.

        It works in Windows, MacOS, and Linux.

        Go open a terminal and type ping then a space, then the IP address of your Android device. If it connects it will give you a latency number. If it doesn’t, it will tell you it is not reachable.

        Windows stops the command at 4 I believe. In Linux and MacOS use CTRL + C to stop the command.

        • gedaliyah@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 months ago

          How do I know the IP address of my phone? It’s different on an internal network, right? As opposed to the IP address on the internet?

          • IllNess@infosec.pub
            link
            fedilink
            English
            arrow-up
            0
            ·
            2 months ago

            depends on what version of Android but it should be similar.

            Also do not delete or modify anything.

            Go to Settings -> Network & Internet -> Internet -> (You Network Name Here)

            Then click the down arrow for Advanced and under Network Details you will find IP Address.

            This Network Details information might be useful later. Remember how you got to it.