I hope this is not a duplicate but I could not find a laravel IP address ping..., I have this:
Ping::check('http://example.com');
which returns 200 if website is alive or 0 if not, but it doesnt work on DNS or IPs...
For example, the DNS is: server.sols-rpg.com:7777
and it also has a port as you can see 7777
, it is a SAMP server, if I go to a DNS lookup, some will also tell me that it is online and running, or some will just give me its IP, but still, how can I ping it?