简体   繁体   中英

Connecting to Openshift Python socket server via Adobe Air client

Currently i have work on Python socket server on Openshift. Managed to get it listen to port (15000) and tested on local with telnet seems working fine.

However, i unable to connect to the socket server other than local ( either telnet to the socket server or using Adobe Air xmlsocket ) when i do a netstat on the server, i got following result:

   netstat -tan | grep $OPENSHIFT_PYTHON_IP | grep $OPENSHIFT_PYTHON_PORT | grep ESTABLISHED
   /proc/net/tcp: Permission denied

not sure whether i missed anything on the configuration on Openshift.

Btw, how can i get the IP of my server? if i use OPENSHIFT_PYTHON_IP the ip is only for local right?

您的websocket服务器需要在端口8080上侦听,并且需要在ws://app-domain.rhcloud.com:8000上对其进行访问

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM