I am following the “4. Java Socket Client Example: a HTTP Client” instruction from https://www.codejava.net/java-se/networking/java-socket-client-examples-tcp-ip in my Mac using IntelliJ. The Http config is as easy as: I copied the code without any change in the IntelliJ to test how would it work.…