wifi shield

i did this code using arduino wifi shield and uno. but i cant reach the web page using the ip.
what i did wrong?

#include <SPI.h>
#include <WiFi.h>

char ssid[] = "TP-LINK_7035CE"; // your network SSID (name)
char pass[] = "(sabra*123)"; // your network password

WiFiServer server(80); // create a server at port 80

String HTTP_req; // stores the HTTP request
boolean LED_status = 0; // state of LED, off by default

void setup()
{
WiFi.begin(ssid, pass); // initialize Ethernet device
server.begin(); // start to listen for clients
Serial.begin(9600); // for diagnostics
pinMode(2, OUTPUT); // LED on pin 2
Serial.print("Connected to wifi. My address:");
IPAddress myAddress = WiFi.localIP();
Serial.println(myAddress);

}

void loop()
{
WiFiClient client = server.available();; // try to get client

if (client) { // got client?
boolean currentLineIsBlank = true;
while (client.connected()) {
if (client.available()) { // client data available to read
char c = client.read(); // read 1 byte (character) from client
HTTP_req += c; // save the HTTP request 1 char at a time
// last line of client request is blank and ends with \n
// respond to client only after last line received
if (c == '\n' && currentLineIsBlank) {
// send a standard http response header
client.println("HTTP/1.1 200 OK");
client.println("Content-Type: text/html");
client.println("Connection: close");
client.println();
// send web page
client.println("");
client.println("");
client.println("");
client.println("Arduino LED Control");
client.println("");
client.println("");
client.println("

LED

");
client.println("

Click to switch LED on and off.

");
client.println("<form method="get">");
ProcessCheckbox(client);
client.println("");
client.println("");
client.println("");
Serial.print(HTTP_req);
HTTP_req = ""; // finished with request, empty string
break;
}
// every line of text received from the client ends with \r\n
if (c == '\n') {
// last character on line of received text
// starting new line with next character read
currentLineIsBlank = true;
}
else if (c != '\r') {
// a text character was received from client
currentLineIsBlank = false;
}
} // end if (client.available())
} // end while (client.connected())
delay(1); // give the web browser time to receive the data
client.stop(); // close the connection
} // end if (client)
}

// switch LED and send back HTML for LED checkbox
void ProcessCheckbox(WiFiClient cl)
{
if (HTTP_req.indexOf("LED2=2") > -1) { // see if checkbox was clicked
// the checkbox was clicked, toggle the LED
if (LED_status) {
LED_status = 0;
}
else {
LED_status = 1;
}
}

if (LED_status) { // switch LED on
digitalWrite(2, HIGH);
// checkbox is checked
cl.println("<input type="checkbox" name="LED2" value="2"
onclick="submit();" checked>LED2");
}
else { // switch LED off
digitalWrite(2, LOW);
// checkbox is unchecked
cl.println("<input type="checkbox" name="LED2" value="2"
onclick="submit();">LED2");
}
}

(deleted)

what do you mean by port address?

pikachu91:
but i cant reach the web page using the ip.

Which ip and from where?

i get in the serial monitor that my ip adress is 192.168.0.100 but when i type this ip in the browser i cant reach the page that i did the html code!

And your browser is on a machine residing inside the local network?

What is the error message of the browser?

Can you ping the Arduino? (I'm not shure about Arduino-shields, I know it works with ESP8266)

yes the machine is in the same lan
and when i type the IP i get the message:"this site can't be reached"

(deleted)

192.168.0.102

(deleted)

the LED link on the board is on. and using advanced IP scanner software i can see that the board is connected to the network through the IP Address 192.168.0.108. but when i type the IP in the browser (google chrome or edge or mozilla firefox) i cant see my html page.
if i do the update to the firmware, this can be the problem and will be resolved?

What does a portscan of the Arduino show?

What does WireShark show when you try to access the Arduino?