Re: [users@httpd] localhost api

2020-04-04 Thread Rich Bowen
On 4/1/20 1:37 PM, John Smith wrote: > 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

Re: [users@httpd] localhost api

2020-04-02 Thread rexkogit...@gmx.at
If this is on Linux: * The content of /etc/hosts would be interesting. * The output of ss -tulpn would be interesting. You should make sure that httpd listens on all interfaces on the appropriate port, and that the DNS name someserver.net resolves to one of these addresses (usually, it should

Re: [users@httpd] localhost api

2020-04-02 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,

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

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

[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