Dne torek, 12. september 2017 14.10.58 UTC+2 je oseba mwall napisala:
>
>
>
> On Tuesday, September 12, 2017 at 8:06:07 AM UTC-4, Damjan Hajsek wrote:
>>
>>
>> Dne torek, 12. september 2017 12.57.43 UTC+2 je oseba mwall napisala:
>>>
>>> On Tuesday, September 12, 2017 at 6:44:13 AM UTC-4, Damjan Hajsek wrote:
>>>>
>>>>
>>>> I am sorry forget to mention I changed port to 9999, because port 8080 
>>>> and 8000 are already taken.
>>>> I have setup all on port 9999 on my weather station, firewall and weewx 
>>>> to listen on 9999
>>>>
>>>
>>> did you open port 9999 on the server on which weewx is running?
>>>  
>>> Yes I opened port on firewall and changed in weewx.conf too.
>>>
>>
> you should be able to telnet to port 9999 and get a response from weewx.  
> i tried it and it did not respond, so either something is still blocking 
> port 9999, or weewx was not running when i did the test.
>
> telnet x.x.x.x 9999
>
> then type GET
>
> you should see a response from the weewx-interceptor driver.
>  
> you can't connect because only from my connection is allowed when I telnet 
> I get this.
>

 telnet 194.X.X.X 9999
Trying 194.X.X.X...
Connected to 194.X.X.X.
Escape character is '^]'.
GET
<head>
<title>Error response</title>
</head>
<body>
<h1>Error response</h1>
<p>Error code 400.
<p>Message: Bad request syntax ('GET').
<p>Error code explanation: 400 = Bad request syntax or unsupported method.
</body>
Connection closed by foreign host.

Than I have telnet from windows PC


<head>
      <title>Error response</title>
                                   </head>
                                          <body>
                                                <h1>Error response</h1>
                                                                       
<p>Error
code 400.
         <p>Message: Bad request syntax ('get').
                                                <p>Error code explanation: 
400 =
 Bad request syntax or unsupported method.
                                          </body>


Connection to host lost.

And checked if weewx running on server!

 ps aux | grep "weewx"
root      1818  0.0  0.0 114692   928 pts/0    S+   14:40   0:00 grep 
--color=auto weewx
root     13716  0.1  0.0 291696 12492 ?        Sl   09:25   0:30 python 
/usr/bin/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to