Re: localhost api

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux