Welcome, Guest. Please login or register.
Did you miss your activation email?
Saturday 23 November 2024, 02:29:21 pm

Login with username, password and session length

Visit the Official Endian Reference Manual  HERE
14258 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  Firewall blocks PHP sockets
0 Members and 2 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Firewall blocks PHP sockets  (Read 24635 times)
pisisler
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?
Logged
pisisler
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?
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

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