Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Failed to connect (Connection refused) when connecting to 192.168.4.1 from Pymakr

    Scheduled Pinned Locked Moved Pymakr
    connectionpymakrwifi
    6 Posts 3 Posters 1.4k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      jand
      last edited by

      I can no longer connect from Pymakr to any of my devices (Lopy4, Lopy, Sipy) through wifi (using the address 192.168.4.1). My laptop makes a wireless connection to the device (e.g. sipy-wlan-4597). And with PuTTY I can login to the device using telnet (with login "micro" and password "python"). But whenever I try to connect from Pymakr (within VScode), I get as reply "Failed to connect (Connection refused)". Connecting through USB (COM13) still works.
      I don't think there is anything wrong with the pymakr.conf file that looks as follows:

      {
          "address": "192.168.4.1",
          "username": "micro",
          "password": "python",
          "sync_folder": "",
          "open_on_start": true,
          "statusbar_buttons": [
              "console",
              "run",
              "upload",
              "download"
          ]
      }
      

      What to do to test where the problem is? It worked before. I don't see why it stopped working. I already reinstalled VScode and the pymakr pluging. It does not help.

      1 Reply Last reply Reply Quote 0
      • M Offline
        Ma
        last edited by

        I've the some problem with my Wipy 2.0. It worked before, but today I can't connect from Pymakr. I tried to reinstal VScode and Pymakr.

        1 Reply Last reply Reply Quote 0
        • R Offline
          Ralph
          last edited by

          Hi @jand, thanks for reporting. Your config seems to be good and I think this might be a bug in the plugin. I'll get back to you later today.

          1 Reply Last reply Reply Quote 0
          • R Offline
            Ralph
            last edited by

            @jand @Ma This was indeed a bug in the latest release, where one of the classes wasn't updated to the latest version. I've just released v1.0.1 to fix this. let me know if the update does it for you!

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              Ma @Ralph
              last edited by

              @ralph It works. Thank you!

              1 Reply Last reply Reply Quote 0
              • J Offline
                jand
                last edited by

                @Ralph, thanks very much. It now works again.

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • 1 / 1
                • First post
                  Last post

                Pycom on Twitter

                Pycom