Giter Club home page Giter Club logo

Comments (4)

itachiliu avatar itachiliu commented on August 25, 2024 1

Thank you for your suggestion. I pushed the changes on both repositories. I would appreciate it if you can test the code in the master branch.

I test it in the maser just now. the program works as expected.

from dns-tools.

eriverosr avatar eriverosr commented on August 25, 2024

Can you try putting your IPv6 address in brackets notation? I quote from the link:

Since IPv6 no longer uses points to seperate values, but colons, it poses a direct problem for specifying portnumbers, as its default notation is :. This can be solved by placing the IP address in between brackets, such as [::3]:8080 (which addresses the local loopback address, on port 8080). For websites that use the IP for access, this should be http://[ip-address]:port.

Tell me if it works 🙂

from dns-tools.

itachiliu avatar itachiliu commented on August 25, 2024

Can you try putting your IPv6 address in brackets notation? I quote from the link:

Since IPv6 no longer uses points to seperate values, but colons, it poses a direct problem for specifying portnumbers, as its default notation is :. This can be solved by placing the IP address in between brackets, such as [::3]:8080 (which addresses the local loopback address, on port 8080). For websites that use the IP for access, this should be http://[ip-address]:port.

Tell me if it works 🙂

I try it, but it does not work.

I find another method to solve this issue as follow:

When I took a look your code and read the official documentation of ZMQ, then added a line to your code in dtcnode/server/node.go and dtc/network/zmq/node.go

func (node *Node) connect() error{
s, err := node.context.NewSocket(zmq4.REP)
if err != nil {
return err
}
node.socket = s
err = node.socket.SetIpv6(true)
if err != nil {
return err
}

…………
`
Then it works.

Maybe this will help you.

from dns-tools.

eriverosr avatar eriverosr commented on August 25, 2024

Thank you for your suggestion. I pushed the changes on both repositories. I would appreciate it if you can test the code in the master branch.

from dns-tools.

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.