I am developing a project in the goland programming language, on Windows I launch (at localhost: 3000) everything works. Now we need to transfer this project to the internal server of the enterprise, put it on the Red Hat 7.5 server and the mysql database. The project started, everything works, also on the path localhost: 3000. Now I want to connect from another computer to the ip address, entering the server ip: 3000, and nothing happens. Someone faced such a problem, how can it be solved?
bind' and the socket to the desired address, orINADDR_ANY(aka0.0.0.0) to listen on all interfaces, then seenetstat -tlnwhat it listens on the correct port + if there is a fire bar, but open the port on it ... I don't know the syntax of / api / macros in go to give specific code ... at least without the minimal reproducible example in question. - Fat-Zer 4:39 pm