NameError: name 'dumps' is not defined

Did you change both IP addresses? You’ll need to restart blender if any errors happened because the socket isn’t released

i was forget to edit ip in the setup.py and after i edited it get this error
File “Server.py”, line 34, in <module>
AttributeError: ‘KX_GameObject’ object has no attribute ‘setPosition’

You need to replace those with “obj.worldPosition = new_position” attribute assignments (client and server)

finally that’s working but if i want to play with some one over network i just need to chang my “localhost” to my extrnal ip ?

you have to bind the server socket to the appropriate address: