Socket connection problem on HTML5 target

hello, I am new to openfl and started port my multiplayer game from flash to html5
can’t manage to work socket connection!
it works on flashplayer target but not html5

here my simple code

package;
import openfl.net.Socket;
import openfl.events.*;
import openfl.system.Security;
import openfl.utils.Timer;


class ServerClient {
	private var socket:Socket = new Socket();
	private var socketData:String;

	public function new() {
		Security.allowDomain("*");
		
		socket.addEventListener(Event.CONNECT, onConnect);
		trace("Connecting to server. 5.10.35.246" + ' ' + 2226);
		
		socket.connect("5.10.35.246", 2226);
		

		
		
	}

	function onConnect(e:Event):Void {
		trace("connected!");

	}
	
}

am I missing something?

Do you get errors?

I forget what permissions are required in order to use WebSockets

yes it goes to timed out

Socket.hx:130 WebSocket connection to 'ws://5.10.35.246:2226/' failed: WebSocket opening handshake timed out
Boot.hx:58 ServerConnector.hx:58: IO Error: [Event type="ioError" bubbles=false cancelable=false]
Boot.hx:58 ServerConnector.hx:52: on close

I am using Chrome to debug, what permissions do I need?

Are you sure the server at ‘ws://5.10.35.246:2226/’ is actually a websocket server ?
use this to test: http://www.websocket.org/echo.html

We checked server and seemed it didn’t responded for Websocket, fixed and works as expected
thanks all for help.