dongzhao1930 2017-06-06 00:03
浏览 20

如何托管创建一个简单的登录门户,可以由同一本地网络上的不同用户访问? [关闭]

I'm planning to make an Instagram for web for my school project, but i don't know how to give access to a page from the server to multiple users. Make note that all these things are happening offline and the webpage will be accessed to all those users who are connected to my local hotspot (or the computer hotspot on which I'm going to host the server).I don't know a thing about how to connect two users. please help. Thanks

  • 写回答

1条回答 默认 最新

  • dongyun9120 2017-06-06 01:03
    关注

    this steps are for XAMPP over the same local network:

    1. Get your internal IP or static ip (ipv4, example: 192.168.1.106).
    2. Open XAMPP>apache>conf>httpd.conf file
    3. Find the line #Listen 12.34.56.78:80 or #Listen 0.0.0.0:80
    4. Change the IP address in that line and replace it with the static IP (192.168.1.106)
    5. Save the httpd.conf file ensuring that the server is pointed to #Listen 192.168.1.106:80
    6. to connect from another pc just write http://192.168.1.106/myapp

    hope it helps.

    评论

报告相同问题?

悬赏问题

  • ¥15 微信公众平台自制会员卡可以通过收款码收款码收款进行自动积分吗
  • ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
  • ¥15 gdf格式的脑电数据如何处理matlab
  • ¥20 重新写的代码替换了之后运行hbuliderx就这样了
  • ¥100 监控抖音用户作品更新可以微信公众号提醒
  • ¥15 UE5 如何可以不渲染HDRIBackdrop背景
  • ¥70 2048小游戏毕设项目
  • ¥20 mysql架构,按照姓名分表
  • ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分
  • ¥15 delphi webbrowser组件网页下拉菜单自动选择问题