Ignite开防火墙注意事项

首先我们知道Ignite默认端口:

  1. Discovery默认是47500,一般开通47500-47509
  2. Communication默认是47100,一般开通47100-47109

Ignite Client端与Server端的防火墙不能只开通单向client到server的,根据Ignite创始人Dimitry在社区给我回复,communication必须要能够建立双向连接。

Jeff Jiao

Reply | Threaded | More 14172917_Hk7p.png   14172917_2T0M.png

Jun 01, 2017; 9:11pm

how to let client node connect to server node, not server connect to client

Selected post

This post was updated on Jun 01, 2017; 10:21pm.

hi guys, 

The situation is this: 
we want to have C# Ignite Client node run in A environment 
we already have 3 Java Ignite Server nodes in B environment 
we only opened firewall that A can access B at port 47500-47509 and 47100-47109 
we don't want to let B access any ports at A 

when we try to start Client node in A, first it can be discoveried by Server node in B by 47500, and then we found that it always that Server nodes want to connect to Client node in A at 47100, it's sure been blocked by firewall...then Node Failed, cannot connect. 

Is there a way to control this? only let client node to connect to server node? 


Thanks in advance, 
Jeff

dkarachentsevdkarachentsev

Reply | Threaded | More 14172917_Hk7p.png   14172917_2T0M.png

Jun 03, 2017; 9:17pm

Re: how to let client node connect to server node, not server connect to client

 

Hi Jeff, 

Unfortunately, you cannot avoid this and you need to open that ports (47100-47109) on client node, because communication must has ability to initiate connection in both directions. Also you may leave those ports open only for hosts where server nodes are running. 

Thanks! 
-Dmitry

转载于:https://my.oschina.net/u/2481460/blog/1537483

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值