Cannot access to the controller when PC's IP address is set to be obtained automatically

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Cannot access to the controller when PC's IP address is set to be obtained automatically

跳至解决方案
1,174 次查看
winmaxi
Contributor I

I set up the webpage, and it would be accessed fine if I configured the PC's IP address to be a similar IP. For example, if controller's IP is 111.222.3.3, then if PC's IP address is set to be 111.222.3.4, I will be able to access the webpage. At this time internet cable is plugged in on PC and also the microcontroller, so they are not connected through cable, but actually through internet.

 

But if I set the PC to obtain an IP address automatically, it will not direct me to the webpage.

 

The IP address I used was not in use, and it would be right, but it did not work.

 

Anybody knows why's that and how can I modify it to get the webpage show right?

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
855 次查看
PetrL
NXP Employee
NXP Employee

Hi,

 

do you set your application to obtain IP address using DHCP? If so, try check DHCP and your application if you DHCP address was assigend to you. Then try ping..

 

What platform are you using? I would suggest you to try rtcs/examples/shell example application and :

ipconfig init

ipconfig dhcp

and then ipconfig for displaying the result of the operation.

then ping.

If everything is OK then try HTTP server.

 

Regards,

PetrL

在原帖中查看解决方案

0 项奖励
回复
1 回复
856 次查看
PetrL
NXP Employee
NXP Employee

Hi,

 

do you set your application to obtain IP address using DHCP? If so, try check DHCP and your application if you DHCP address was assigend to you. Then try ping..

 

What platform are you using? I would suggest you to try rtcs/examples/shell example application and :

ipconfig init

ipconfig dhcp

and then ipconfig for displaying the result of the operation.

then ping.

If everything is OK then try HTTP server.

 

Regards,

PetrL

0 项奖励
回复