If this is on Linux:
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 resolve to the external address, not to 127.0.0.1). So, the file /etc/hosts should NOT contain a line:
127.0.0.1 someserver.net
Kind regards.
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 (Connection refused)
Service works well, if it is called outside
On Wed, Apr 1, 2020 at 6:57 PM Rich Bowen <rbowen@xxxxxxxxxxx> wrote:
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 be an apache
> configuration issue, or?
> Regards,
> John
--
Rich Bowen - rbowen@xxxxxxxxxxx
http://rcbowen.com/
@rbowen