Im doing a
file_get_contents but getting
I used the following to allow outgoing connections from server2 to server1, and vice-versa. But I'm still getting
failed to open stream: Connection refused
iptables -A OUTPUT -p tcp -d 220.127.116.11 --dport 8983 -j ACCEPT iptables -A INPUT -p tcp -s 321.321.321.321 --dport 8983 -j ACCEPT
Maybe there's some rule where i cant use
file_get_contents between two different servers/ip?
I think for now i'll use
curl, but interested to know what's not working here...