In most cases OSC is based on UDP, rarely TCP. So you must ensure, that both client and server can send or read, respectively, UDP. On the server side this is possible with node.js. On the client side here is a possible solution: Send udp packet from chrome
Python can do this without any problems. There are even libraries for that. I can recommend this page for some implementations