socket creation in lwip_httpsrv_freetos

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

socket creation in lwip_httpsrv_freetos

691件の閲覧回数
ral_mirion
Contributor I

Hi, I am using a frdm-mcxn947 board and i am trying to create a socket on my server. My server is running at http://192.168.0.102:80 i have already checked and everything seems fine( my firewall is also turned off). i will attach my code below. This is what i get in my terminal : "**********************************************************
HTTP Server example
***********************************************************
IPv4 Address : 192.168.0.102
IPv4 Subnet mask : 255.255.255.0
IPv4 Gateway : 192.168.0.100
mDNS hostname : lwip-http
***********************************************************
Creating socket...
Socket created successfully.
Connecting to server...
Connection to server failed."

 

And i don't know why the connection to server is failing, as i said, this is not an ip and port config error, as i checked it multiple times in cmd prompt, there seems to be a code error which i cannot pin out. Please help me if you have any ideas. Thank you!

0 件の賞賛
返信
1 返信

660件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

You have to bulld the socket, please check https://www.freertos.org/Documentation/03-Libraries/02-FreeRTOS-plus/02-FreeRTOS-plus-TCP/04-Tutoria...

I guess you may have some firewall exception.

Regards

 

0 件の賞賛
返信