---
title: "W5200 connection problem"
url: "https://maker.wiznet.io/forum/9917"
markdown_url: "https://maker.wiznet.io/forum/9917/md"
type: "Forum topic"
category: "Ethernet Chips"
author: "zorz"
created: "2014-02-11T12:33:46+09:00"
last_activity: "2017-05-04T08:31:32+09:00"
language: "en"
views: 888
replies: 6
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# W5200 connection problem

## Question

Asked by zorz on 2014-02-11 in Ethernet Chips.

Hello wiznet

I have W5200 and i need to solve the situation on the picture attached.
I need to access TCP server .

i have tried many different option but was unsuccesful! if I change the server to Router 1 i am succesfull
Can you please help with the configuration

W5200 version is 0x03 ( VERSIONR )

regards zorz
![](https://maker.wiznet.io/forum_uploads/wiznet/original/1X/7d6b682a52748cef57fb4d28daa66d6322c83edd.jpg)

## Replies

### Reply 1 by suhwan, 2014-02-11

Hi zorz,

> if I change the server to Router 1 i am successful.

Therefore, W5200 seems to operate normally.

Check your network configuration between Router1 and Router2.

- What is the external IP address of Router1 ?
  Check the external IP address of Router1 whether is same network with Router2 (192.168.3.x) or not.

- If the external IP address of Router was not sam network with Router2,
  let me know subnet mask of devices in your network.

Thanks,

### Reply 2 by zorz, 2014-02-13

Hi

The routers are checked and work ok … if i change W5200 with a PC i am able to make the connection with the server.

This is my configuration on the W5200

HW address : SET
Source IP: 192.168.4.3
Subnet mask: 255.255.0.0
Gateway address : 192.168.4.1

Destination IP address 192.168.3.20
Destination port: 2020 ( ports are open on the router and port forwarding enabled too )

Selected TCP

when i open the socket ( write 1 to 4001 )it is ok
when i start the connection ( write 4 to the 4001 ) than the Socket status register ( 4003 ) goes back to 0…meaning CLOSED

Soo, what am i doing wrong ? Is the configuration OK ?

regards zorz

### Reply 3 by zorz, 2014-02-13

hi

Ok i will do this test, but what about the configuration i is OK ?

regards Jože

### Reply 4 by zorz, 2014-02-14

hi

the question was if the W5200 configuration is OK ?

regards zorz

### Reply 5 by zorz, 2014-02-20

hi all

Just wont to the say that the problem was resolved …the issue was in Linksys E3200 router … when i removed it …everything is working now … if i will have the time i will try do ckeck the situation and report …

regads zorz

### Reply 6 by hjjeon0608, 2014-02-20

Hi, zorz.

I’m glad to hear you solved the problem.

Best regards.

---

Source: https://maker.wiznet.io/forum/9917
