docker_python-django_uwsgi_nginx_浏览器_网络访问映过程

介绍

1:介绍docker中使用uwsgi服务器启动django

设置了uwsgi的脚本

2:介绍启动uwsgi后,使用本地浏览器去访问这个容器中的端口

3:分别使用了3个ip地址去访问这个服务

1:使用本地连接*2

2:使用windows系统里面的子系统linux wsl网络端口---这个ip地址是linux虚拟化出来的ip-挂载到了windows网卡中

3:使用本地地址localhost:8000 127.0.0.1:8000这种本地地址去访问

4:略

视频如下:2倍速观看更佳

c 复制代码
https://www.bilibili.com/video/BV1p14y1y7p8
相关推荐
空空dream21 分钟前
03 | 离线部署 FastAPI + Ollama(qwen2:0.5b):从 Docker 联调到 Kubernetes 验收
docker·ai·kubernetes·fastapi
Wx-bishekaifayuan3 小时前
springboot桂味美食分享系统40540-计算机课程设计、毕业设计
spring boot·后端·python·django·课程设计·express·旅游
郭老二4 小时前
【docker】docker compose使用,已nginx为例
nginx·docker·容器
zzu123zsw4 小时前
从 proxy_pass 末尾斜杠到 WebAssembly 预压缩:深挖 Nginx 生产环境四大高频踩坑点
运维·nginx·wasm·webassembly·devops·运维排错
郝亚军5 小时前
RK3562 中有 mosquitto、nginx 了,还需要 http,ftp,tftp 等协议吗?
运维·nginx·http
a5986525 小时前
Docker云手机端口不通,无法访问|六边云手机教你故障排查完整流程
docker·容器·性能优化·云手机
梅雅达编程笔记6 小时前
Day 06 · 第一个 API 接口:从 Model 到 JSON
python·django·drf·后端开发·restful api·序列化器
ab1237687 小时前
Docker Compose 完整详解
运维·docker·容器
吴声子夜歌7 小时前
Docker入门与实战——容器实战思考
docker·容器
江湖有缘7 小时前
Docker实战 | 使用Docker部署Foxel私有云盘服务
docker·容器·eureka