Re: localhost api

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

 




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 <http://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

That *probably* indicates one of two things:

1) You're not 'Listen'ing on that address (check your Listen directive
to see if it specifies only specific IP addresses)

2) Your firewall is not configured to allow this connection


> 
> On Wed, Apr 1, 2020 at 6:57 PM Rich Bowen <rbowen@xxxxxxxxxxx
> <mailto: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 <mailto:rbowen@xxxxxxxxxxx>
>     http://rcbowen.com/
>     @rbowen
> 

-- 
Rich Bowen
rbowen@xxxxxxxxxxx

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