cant post data from W5500 to server in new network

Hello,
Ive got a mega 2560 and a wiznet w5500 ehternet shield connected to my current home network.
I am not using DHCP and instead manually assign an IP address of 192.168.1.222, this is an unused IP address.
I am posting some sensor data to an ASP.net page i have hosted on smarterasp.net.
this all works within my home network.
The arduino basically opens an aspx page and passes some parameteres which are appended to an XML file. This currently works fine on my home network and i can also use Filezilla to FTP to my server and verify that the data has entered into the XML file.
Today i tried it in another network which uses the same 192.168.1.x/24 range and the IP address here is also not conflicting.
using the exact same setup i cannot get the data to appear on the server.

I am using the following code to post to the server:

I was wondering if anyone had any ideas about what might be wrong or can i print the status of the upload to the Serial terminal?
I am thinking its something to do with the new host which is BT (UK).
any help appreciated

 String phpScript = "/About?dir="+Data;
//    Serial.println("connecting...");
  if (client.connect(server, 80)) {
//    Serial.println("connected");
//showUpload(1);
    client.print("POST ");
    client.print(phpScript);
    client.println(" HTTP/1.1");
    client.println("Host:myserver.com");
    client.println("Connection: close");
    client.println("Content-Type: text/html;");
    client.print("Content-Length: ");
    client.println(data.length());
    client.println();
    client.print(data);
  //  Serial.println("- done");
    client.stop();
}

Don't post snippets (Snippets R Us!)

how did you configure the static IP? did you also pass the mac, dns, gateway, subnet information? are they compatible with this new network?

is 222 in the range of accepted IPs by the local router? (you might be in a 192.168.1.0/24 but the router can have other rules defining the range of local DHCP adresses or will blocked static IPs unless manually added into the router config)

Hello,
thanks for the response and apologies for the snippet, the code is several hundred lines long and a bit of a mess.

I am only passing the wiznet w5500's MAC and the IP address.
ive defined the IP as so
IPAddress ip(192, 168, 1, 233); (sorry i meant to say 233 not 222).
the MAC is the Wiznets actual mac address and is a byte array defied as such byte mac[] = {0x90, 0xa2, 0xda, 0x11, 0x44, 0xea}(not my actual MAC, just an example)
while in the new network i noticed my laptop has an IP address of 192.168.1.200 so i didnt think anything of the 233 IP address. previously i had an address of 192.168.1.111 which also didnt work.
I couldnt get at the routers config to confirm the IP address range.
i didnt define a gateway or DNS but i did notice come to think of it while looking at an IP Config of a computer on the Ethernet network that there was a primary and secondary DNS with an address of 85.222.something.something
I think the gateway was 192.168.1.1 or the routers address.

i wonder if i just use DHCP would that be just as simple to let the router decide whats best?

the problem i have is that the other network is about an hours drive and i ran out of ideas at the time.
thanks for the help!!
really appreciated

Used fixed IP when really needed.. otherwise DHCP makes things easier