Re: [users@httpd] localhost api

2020-04-01 Thread Carsten Reith
How does your Listen directive in the httpd.conf look like ? Is Apache listening to 127.0.0.1 or only to an external NIC ? The output of netstat -tulpn would be helpful. cheers, Carsten On Wed, Apr 01, 2020 at 08:37:54PM +0300, John Smith wrote: >When trying to update data with POST, there

Re: [users@httpd] localhost api

2020-04-01 Thread John Smith
When trying to update data with POST, there comes: Can\'t connect to someserver.net:8092 (Connection timed out) No markings in apache's logs. Apache and application run in lxc container. If I call 127.0.0.1 or localhost instead of someserver, result is: 'Can\'t connect to localhost:8092 (Connect

Re: [users@httpd] localhost api

2020-04-01 Thread Rich Bowen
Please provide the error message, from the error log. On 4/1/20 9:47 AM, John Smith wrote: Hello, When calling restapi (https://someserver.net/api/dosomething PUT or GET) from localhost, it says Connection not allowed. From outside it works well. A perl script is doing the calling. This might

[users@httpd] localhost api

2020-04-01 Thread John Smith
Hello, When calling restapi (https://someserver.net/api/dosomething PUT or GET) from localhost, it says Connection not allowed. From outside it works well. A perl script is doing the calling. This might be an apache configuration issue, or? Regards, John