Why is my method undefined for the type object?

Change your main to: When you declare Object EchoServer0; you have a few mistakes. EchoServer0 is of type Object, therefore it doesn’t have the method listen(). You will also need to create an instance of it with new. Another problem, this is only regarding naming conventions, you should call your variables starting by lower case letters, echoServer0 instead … Read more

Sending string via socket (python)

This is a very VERY simple design for how you could solve it. First of all, you need to either accept the client (server side) before going into your while 1 loop because in every loop you accept a new client, or you do as i describe, you toss the client into a separate thread … Read more

JS file gets a net::ERR_ABORTED 404 (Not Found)

As mentionned in comments: you need a way to send your static files to the client. This can be achieved with a reverse proxy like Nginx, or simply using express.static(). Put all your “static” (css, js, images) files in a folder dedicated to it, different from where you put your “views” (html files in your … Read more

Python socket.error: [Errno 111] Connection refused

The problem obviously was (as you figured it out) that port 36250 wasn’t open on the server side at the time you tried to connect (hence connection refused). I can see the server was supposed to open this socket after receiving SEND command on another connection, but it apparently was “not opening [it] up in … Read more

Bind failed: Address already in use

The error usually means that the port you are trying to open is being already used by another application. Try using netstat to see which ports are open and then use an available port. Also check if you are binding to the right ip address (I am assuming it would be localhost)

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)