How to enable sharing of web site on localhost?

房东的猫 提交于 2019-12-23 15:54:18

问题


I tried to enable my site on loclhost to be accessed from other computers but i can't find a way to do this. I have tried to add shareing to "Internet Guest Account" but that doesn't work either. I just can't forse it to enable access from my other computer.

alt text http://img162.imageshack.us/img162/7379/sharee.jpg


回答1:


You need to allow web service hosting out of your windows firewall which is in your control panel.

File Sharing doesn't enter into it unless you are wishing to share your website's code with other members on your network.

Steps to allow localhost web service hosting

  1. Open Start Menu and click Control Panel
  2. Click Security (or if you are in classic view click Windows Firewall and goto step 4)
  3. Click 'Allow a program through windows firewall'
  4. Click Change Settings
  5. Click the Exceptions tab
  6. Ensure there is a check aside World Wide Web Services (HTTP)


来源:https://stackoverflow.com/questions/1205249/how-to-enable-sharing-of-web-site-on-localhost

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