Client Not Connecting to Server

I have the following sketches, and for some reason the client is not connecting to the server. With char[] server = "google.com";, a connection establishes but not when using the IP address of the Arduino local server, which prints in the server sketch. The client is an Sparkfun Pro Micro ESP32 and the server is an Arduino Giga. Any guidance would be greatly appreciated.

Client:

#include <Wire.h>
#include "SparkFun_STTS22H.h"
#include <SPI.h>
#include <WiFi.h>

SparkFun_STTS22H mySTTS; 

float temp;

char ssid[]    = "";
char password[] = "";

int status = WL_IDLE_STATUS;

WiFiClient client;
char server[] = "";

void setup() {
  delay(5000);

	Wire.begin();

	Serial.begin(115200);
  
  if(!mySTTS.begin()) {
    Serial.println("Did not begin.");
		while(1);
  }

  mySTTS.setDataRate(STTS22H_POWER_DOWN);

	delay(10);

	mySTTS.setDataRate(STTS22H_1Hz);
  mySTTS.enableAutoIncrement();

	delay(100);

  Serial.println("Attempting to connect to WPA network...");
  Serial.print("SSID: ");
  Serial.println(ssid);

  status = WiFi.begin(ssid, password);
  
  while (status != WL_CONNECTED) {
    Serial.print("Attempting to connect to SSID: ");
    Serial.println(ssid);

    delay(3000);

    status = WiFi.status();
  }

  Serial.println("Connected to wifi");

  printWifiStatus();
}

void loop() {
  if(mySTTS.dataReady()) {
    mySTTS.getTemperatureF(&temp);
    Serial.println(temp);
  }


  if (client.connect(server, 80)) {
    Serial.println("connected");
  } 
}

void printWifiStatus() {

  // print the SSID of the network you're attached to:

  Serial.print("SSID: ");

  Serial.println(WiFi.SSID());

  // print your WiFi shield's IP address:

  IPAddress ip = WiFi.localIP();

  Serial.print("IP Address: ");

  Serial.println(ip);

  // print the received signal strength:

  long rssi = WiFi.RSSI();

  Serial.print("signal strength (RSSI):");

  Serial.print(rssi);

  Serial.println(" dBm");
}

Server:

#include "Arduino_GigaDisplay_GFX.h"

#include <Wire.h>
#include "SparkFun_STTS22H.h"

#include <WiFi.h>

#include <math.h>

GigaDisplay_GFX display;
SparkFun_STTS22H mySTTS; 

#define BLUE 0x0000ff
#define WHITE 0xffffff
#define BLACK 0x0000

float temp; 

String insideTempOutput;

const char* ssid     = "";
const char* password = "";

WiFiServer server(80);

int status = WL_IDLE_STATUS;

void setup() {
	Serial.begin(115200);

  while (!Serial);
  
  display.begin();

  display.setRotation(1);
  display.fillScreen(BLACK);
  display.setTextSize(8); 

  drawLabels();
  Wire.begin();

  if(!mySTTS.begin()) {
    Serial.println("Did not begin.");
		while(1);
  }

  mySTTS.setDataRate(STTS22H_POWER_DOWN);

	delay(10);

	mySTTS.setDataRate(STTS22H_1Hz);
  mySTTS.enableAutoIncrement();

	delay(100);

 status = WiFi.begin(ssid, password);
  
  while (status != WL_CONNECTED) {
    Serial.print("Attempting to connect to SSID: ");
    Serial.println(ssid);

    delay(3000);

    status = WiFi.status();
  }

  Serial.println("Connected to wifi");

  IPAddress ip = WiFi.localIP();

  Serial.println(ip);
}

void drawLabels() {
  display.setTextColor(WHITE);
  display.setCursor(50, 100);
  display.print("Inside:");
}

void loop() {
   WiFiClient client = server.available();

    if (client) {
    Serial.println("new client");
  }
  
  if(mySTTS.dataReady()) {
    mySTTS.getTemperatureF(&temp);

    insideTempOutput = String((int) round(temp)) + " F";

    display.setCursor(450, 100);
    display.print(insideTempOutput);

    delay(5000);

    display.fillScreen(BLACK);
    drawLabels();
  }
}

Your Giga is not acting as a server. If it was, there would be a server.begin() statement in your setup() not a WiFi.begin() call.

Look at a web server example