Connection Closed 메시지가 나오는이유

안녕하세요
WZI550S2E 모듈을 사용하고있습니다.
모듈을 TCP Client모드로는 잘 되는것을 확인하였습니다.

그리고 모듈을 TCP Server모드로 사용하려고 합니다.
모듈 ip 192.168.2.4, Host IP 192.168.2.2 로 설정하여 사용하고자 합니다.
Configuration Tool 로 셋팅은 정확히 한것 같은데요.
Hercules 에서 TCP Client 에서 ModuleIP를 192.168.2.4로 맞추고 포트를 동일하게 맞춘뒤 Connect를 누르면 다음과 같이 메시지가 나옵니다.

“Connecting to 192.168.2.4 …”
"Connected to 192.168.2.4 " 가 나온뒤에 바로 몇초뒤
"Connection closed " 가 나옵니다.

안녕하세요.

TCP Sever 모드로 동작 할 경우 Clinet 측에서는 접속후 최초 접속 비밀번호를 전송 해야 합니다.

해다 비밀번호는 기본값으로 “WIZnet” 입니다.

상세 내용은 아래 링크에 Password 단락을 참고 바랍니다.
https://wizwiki.net/wiki/doku.php?id=products:wiz550s2e:wiz550s2epg_kr#configuration_tool

I used to have some S2E modules with version 1.0.0 and had no issues with them, I recently bought some more but they have version 1.0.3 and now im having connectivity issues. I tried to downgrade to version 1.0.0 following your video but it didn´t work out. Can you help me out ?

Hi.

Please check the following again.

  1. The module and the PC with the TFTP server must be in the same network band.
    Ex) If the PC is 192.168.0.2, the module is 192.168.0.xxx
  2. The PC and module must have the same subnet.
  3. The PC and the module should be under the gateway. Do not connect directly.

If not,

  1. Turn off the firewall.

Add. 1.0.3 is a better version than 1.0.0. We recommend using version 1.0.3.
What is the connection issue? If the module is acting as a server, the client must send the connection password first after connecting to the module. Did not you forget this?

Thanks.

안녕하세요.
TCP Mixed 모드에서도 동일하게 패스워드를 보내야 하나요?
패스워드를 사용해야 하는 특별한 이유가 있을까요?
패드워드 없이 접속하려면 코드 어느 부분을 수정해야 할까요?
답변 부탁 드립니다.

Just remove the password for both connection and the module. This will work fine.