Git Product home page Git Product logo

Comments (8)

weiyouren avatar weiyouren commented on June 8, 2024

I have two network cards with different IP addresses,192.168.0.2 it's an example

from reactor-netty.

violetagg avatar violetagg commented on June 8, 2024

@weiyouren Please provide the logs with the problem. I tried to bind the client, where the address was specific for my local machine, and there were no issues with binding.

from reactor-netty.

weiyouren avatar weiyouren commented on June 8, 2024

1
I hava four network card,bindAddress(() -> new InetSocketAddress("172.31.108.179", 0)),I bind local address on eth2 ip address,but sending data is from eth3,you can see eth2 sending data is zero
2
but eth3 is working
3

from reactor-netty.

violetagg avatar violetagg commented on June 8, 2024

@weiyouren In addition to the configuration that you have can we also specify bindAddress for Host Name resolution like this:

				// bindAddress for the client requests
				.bindAddress(() -> new InetSocketAddress("192.168.0.2", 0))//not working,why?
				// bindAddress for Host Name resolution
				.resolver(spec -> spec.bindAddressSupplier(() -> new InetSocketAddress("192.168.0.2", 0)))

Can you also provide tcp dump?

from reactor-netty.

weiyouren avatar weiyouren commented on June 8, 2024

tcpdump -i eth2
4
tcpdump -i eth3
5

from reactor-netty.

violetagg avatar violetagg commented on June 8, 2024

@weiyouren Can you provide also logs from the execution? You need to enable wiretap(true) on the HttpClient and also to enable logging for reactor.netty logger.

from reactor-netty.

violetagg avatar violetagg commented on June 8, 2024

I cannot reproduce this issue with my setup.

from reactor-netty.

violetagg avatar violetagg commented on June 8, 2024

@weiyouren I'm closing this with cannot reproduce. We can reopen the issue when you are able to provide the requested information.

from reactor-netty.

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.