How can i get ip for server?

Hello, guys, i made a simple server and client by sockets. How can i get server's ip address for client?

If the server is, with a free account, it won't work. I tried this, you would need a paid account to use sockets.

oh, ok. Do u know any free solutions? Because i need it only for tests

Don't think so. The next best thing would be POST/GET requests, but I assume that is not what you want. You would have to buy a paid account on pythonanywhere to use sockets, I think.

Even with a paid account, we don't support socket servers, unfortunately -- only socket client. I don't know of any free services that do handle socket servers; for paid options you'd be best off looking at a VPS system like Digital Ocean.