When using the ServerSocket component, an ServerSocket is displayed:

"This host is not known"

Which host should I write (for chat, for example)?

  • And you, I'm sorry, what are you writing? ))) To which one you want to connect, you need to specify it. - Nofate
  • What is an example? I am writing to localhost or my ah-pi - gives this error. - romanzi
  • @romanzi, Give an example of a problem code. - Nicolas Chabanovsky
  • He writes an error after compilation. - romanzi
  • one
    In theory, the text of the error does not mean that the server is not running, but that the host is in principle not possible to find. Surely a comrade is doing something wrong: the host writes the wrong way or the port shoves the host .. something like that. - cy6erGn0m

0