Friday, June 26, 2015

Re: 想用中文说清楚:我在远程工作机服务器上建立了django框架,想启动web server ,启动成功,但是无法打开127.0.0.1:8000 ,中间端口转接该怎么做

你得确认你的机器能否访问A2,如果不能的话,就不太好弄了。如果能,按照楼上的说法,startserver时指定参数 0.0.0.0:8000,然后在浏览器输入A2的IP:8000就能访问了。
猜测贵司是通过登录类似堡垒机之类的登录服务器吧,我所在公司只有登录线上服务器才会这么干...

在 2015年6月11日星期四 UTC+8下午8:33:06,dur...@corp.netease.com写道:
我在远程工作机服务器上建立了django框架,想启动web server ,启动成功,但是无法打开127.0.0.1:8000 ,中间端口转接该怎么做?
我用pc在办公室登录远程服务器A1,通过中转机A1登录到服务器A2,在A2上搭建了django框架,启动web服务器,想要打开http://127.0.0.1:8000的web界面,总是没办法打开。这种情况该怎么处理

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ff9522b4-033b-42aa-bf54-3060d0bf1842%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment