Coder Social home page Coder Social logo

Comments (8)

r-chris avatar r-chris commented on July 20, 2024

Out of curiosity - has this been tested on a Mac ?

from qrcp.

 avatar commented on July 20, 2024

I am testing it on Ubuntu 16.04

from qrcp.

claudiodangelis avatar claudiodangelis commented on July 20, 2024

Thanks for reporting, @rohand32. It seems that the function that is supposed to return a random available port is not working, because it returns 0 (the zero-value of type int).

How did you install the tool? Thank you

from qrcp.

 avatar commented on July 20, 2024

I installed it using go get https://github.com/claudiodangelis/qr-filetransfer/. It seems there is no issue with the port because I changed the GetFreePort function locally by replacing localhost with 127.0.0.1 and it resolves the issue.

BTW thanks for this awesome utility!

from qrcp.

claudiodangelis avatar claudiodangelis commented on July 20, 2024

Ok, glad to hear you found a workaround, I will look into this anyway, thanks!

I'm leaving this thread open for now just in case someone else bumps into the same problem.

Claudio

from qrcp.

rberenguel avatar rberenguel commented on July 20, 2024

localhost being or not being mapped with 127.0.0.1 is kind of a regular issue between Mac and Linux from my experience too

from qrcp.

claudiodangelis avatar claudiodangelis commented on July 20, 2024

@rohand32 can you please pull the new changes on the master branch and try again? I merged a change by @tssva which might solve your issue.

Thanks

from qrcp.

claudiodangelis avatar claudiodangelis commented on July 20, 2024

I'll close this one as we stopped receiving reports of the bug.

Many thanks for reporting, @rohand32!

from qrcp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.