Not able to connect to the server

http_server.zip

I am working on the http server. I wanted to make my device behave as a server so that I can send the data (received through uart) as a response to the client.

The problem is I tried to execute the http_server sample code available in which I did some minor changes. For now I did not integrate the uart code, I was just sending hello world just to verify whether I am getting it reflected or not but the server was only not able to connect to the ip address of the network on which my device and my laptop were connected.
I am attaching my code for reference below. Also I am using nrf sdk v2.6.1

Related