Welcome, Guest. Please login or register.
Did you miss your activation email?
Tuesday 04 October 2022, 11:26:42 pm

Login with username, password and session length

CLICK HERE for the The official Endian Roadmap and Issue tracker
14179 Posts in 4338 Topics by 6337 Members
Latest Member: rafadevera
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  Firewall blocks PHP sockets
0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Firewall blocks PHP sockets  (Read 418 times)
pisisler
Jr. Member
*
Offline Offline

Posts: 2



« on: Wednesday 24 August 2022, 11:19:03 pm »

Hi all.

I have newly installed Endian Community Firewall 3.3.18 and set our VPSs behind it; two of which are a Centos 7 server and a Windows server. Both serve some websites and APIs. After installing and configuring the firewall; both servers can not reach each other through HTTP. Web sites work very well on the browser; there is no port problem.

I open an RDP to the Windows VPS, I open the browser and browse the API URL successfully. But the very same server times out when I try to reach that URL with PHP (cURL or PHP Socket (file_get_contents()). THe same case applies from Centos to Windows too. I open Centos terminal, ping the API URL in Windows server, it is successful. On the very same terminal I try to connect with cURL, but it times out too.

This has become a very immediate problem to us.

What are we missing in configuration of Endian?
Logged
pisisler
Jr. Member
*
Offline Offline

Posts: 2



« Reply #1 on: Thursday 25 August 2022, 04:45:53 am »

Had resolved the issue temporarily by defining local IPs with domains in their respectful hosts files. But how to set NAT loopback in Endian for good?
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.038 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com