127.0.0.1 aka localhost is the port under which Laravel websockets runs internally we are binding the websockets server to this specific port because we do not want to expose it directly to the Internet. By using 127.0.0.1 we are ensuring that we are running on localhost only. And we only expose the websockets to the outside world via the apache server mod_proxy