G
Apr 12, 2021

--

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

--

--

G
G

Written by G

Backend developer with 7+ years of experience. Specializing mainly in PHP Laravel. Interested in natural simulations, visualization systems, and anything nerdy

No responses yet