Welcome, Guest. Please login or register.
Did you miss your activation email?
Tuesday 23 April 2024, 05:34:49 am

Login with username, password and session length

Visit the Official Endian Bug tracker  HERE
14247 Posts in 4376 Topics by 6493 Members
Latest Member: thiagodod
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 16195 times)
Jr. Member
Offline Offline

Posts: 5

« 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?
Jr. Member
Offline Offline

Posts: 5

« 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?
Pages: [1] Go Up Print 
« previous next »
Jump to:  

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