简体   繁体   English

如何通过本地LAN使用网络别名自动访问嵌入式设备的Web服务器?

[英]How can automatically access an embedded device's web server using a network alias over a local LAN?

I have a embedded linux device I want to build and I want to make it easy for anyone to connect to it. 我有一个要构建的嵌入式Linux设备,我想使任何人都可以轻松连接到它。 So, when it is first setup, it is connected to the LAN using a WPS button feature. 因此,在首次设置时,它使用WPS按钮功能连接到LAN。

Now, I want to be able to type in "mymagicbox" in a browser from another PC on the LAN and connect to the web server within the embedded device. 现在,我希望能够从LAN上的另一台PC在浏览器中键入“ mymagicbox”,然后连接到嵌入式设备中的Web服务器。 How can I design this to do it automatically without having the user change the router settings or lookup the actual device's IP address ? 我该如何设计使其自动执行而无需用户更改路由器设置或查找实际设备的IP地址?

阅读Bonjour又名ZeroConf

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM