sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)sock.connect((s_host, i_port))
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/c4f9ebbd-ac5d-4c16-a0e3-0c307e4797ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
What is s_host
and i_port
? If the IP exists but port is inaccessible, you’ll get an error like that.
>>> import socket
>>> sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
>>> sock.connect(("localhost", 1)) # 1 is not available
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "c:\Python27\lib\socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 10061] No connection could be made because the target machine actively refused it
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/adc4f9cf-5922-4ebb-8642-402c2ec5db28%40googlegroups.com.
What is
s_host
andi_port
? If the IP exists but port is inaccessible, you’ll get an error like that.>>> import socket >>> sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) >>> sock.connect(("localhost", 1)) # 1 is not available Traceback (most recent call last): File "<stdin>", line 1, in <module> File "c:\Python27\lib\socket.py", line 228, in meth return getattr(self._sock,name)(*args) socket.error: [Errno 10061] No connection could be made because the target machine actively refused it
On 29 May 2018 at 08:26, Rémi Deletrain <remi.de...@gmail.com> wrote:
Hi Justin,No it's the opposite that I'm trying to do, connected Maya to RV.RV has a valid settings for accept connection from Maya2014, so I think is a same settings for Maya2018.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscribe@googlegroups.com.
A priori aucun problème du coté du pare-feu. Je vais essa
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/37c02e15-a94c-4330-8bd7-deaab965ca11%40googlegroups.com.
The connection with google works.My IT guys say me firewall doesn't lock a localhost.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/bbc08774-e2a3-4561-a113-511b913d6c8a%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/408f3231-f710-4228-9c9d-f91cdae6a42d%40googlegroups.com.
try: sock.connect((s_host, i_port)) b_connected = Trueexcept Exception, e: cmds.warning(e) b_connected = False
try: sock.connect((s_host, i_port)) b_connected = Trueexcept Exception, e: qd_logger.debug(e) # Python logging module b_connected = False