You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "kexianjun (GitHub)" <gi...@apache.org> on 2019/02/14 09:47:54 UTC
[GitHub] [incubator-dubbo] kexianjun commented on issue #3472: How
can I get the provider application.name in a consumer filter
You can get the provider's ip and port int your Filter like this
```
String providerIp = invoker.getUrl().getHost();
int providerPort = invoker.getUrl().getPort;
```
does this solve your problem?
[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3472 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org