2
我最近在Openshift上啓動了一個單一的應用程序python 2.7。在OpenShift Python主機端口上打開一個套接字
我沒有被允許打開一個套接字 -
終端反饋與:
File "server.py", line 21, in <module>
server_socket.bind(("0.0.0.0", PORT))
File "/opt/rh/python27/root/usr/lib64/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 13] Permission denied
我只需要一個小插座啓動和運行 - 沒有人知道我可以在打開一個套接字他們的託管?如果沒有,什麼是一個好的替代解決方案,以便我可以主持和打開我自己的Python套接字?
我會upvote你,但我不能爲我沒有足夠的代表:P –