How to make my webspace visible to the outside world [closed]

懵懂的女人 提交于 2020-07-23 07:39:05

问题


I need to set up a Azure cloud based windows PC with a folder that can be accessed by selected other PCs under my control. The folder is not really a website, so much as a channel of communication. I will be running my own software on the server which will repeatedly writes small files to c:\inetpub\wwwroot\ which other PCs (of mine) will be monitoring. The data is not secret and I have no need to hide the data from anyone else. The IP address does not need to be fixed from one session to the next, so long as I know what it is each time I start up the communication.

I have got as far as setting up my own c:\inetpub\wwwroot\index.html file which can be viewed (on that same cloud machine) by a browser pointing at "localhost". But now I want that same file/directory visible to other PC's by typing some IP address. I can find the current IP address of my cloud PC (by typing "what is my ip" into google) and I thought that perhaps simply typing that address into a browser on a different PC would let me see my index.html but I just get "The connection has timed out"... so I am missing something. I'm sure this has been asked and answered before, but I don't even know what to search for. All the guides seem to be aimed at people needing a normal website with a proper domain name and fixed address which I have no need for.

来源:https://stackoverflow.com/questions/62977780/how-to-make-my-webspace-visible-to-the-outside-world

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!