Network ports

Talks about solar stuff
Post Reply
vellastefan
Posts: 4
Joined: Mon Feb 27, 2017 8:33 pm

Network ports

Post by vellastefan » Thu Mar 16, 2017 10:49 pm

I am going to install to raspberry pi with 123solar on the same internet. Does it work? Do i have to change some network ports so both systems works? And if yes can you help me with it please?

Thanks

jeanmarc
Posts: 1408
Joined: Thu Aug 29, 2013 7:16 am

Re: Network ports

Post by jeanmarc » Fri Mar 17, 2017 6:42 am

Your router must open and forward the port 80 toward the Pi.
Do you mean you have several machines running on the same network with http service ?

vellastefan
Posts: 4
Joined: Mon Feb 27, 2017 8:33 pm

Re: Network ports

Post by vellastefan » Fri Mar 17, 2017 7:52 am

Yes i will be having 2 on same network, with same http service.?

jeanmarc
Posts: 1408
Joined: Thu Aug 29, 2013 7:16 am

Re: Network ports

Post by jeanmarc » Fri Mar 17, 2017 11:24 am

You need to do reverse proxy: It mean that the port 80 must be forwarded to your main webserver, which should also do the reverse proxy job.

Ex for nginx.conf :

Code: Select all

location /metern/ {
    proxy_pass http://192.168.1.7;
    proxy_set_header        Host $host;
    proxy_set_header        X-Real-IP $remote_addr;
    proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
}
location ~* ^/metern/.*\.php  {
    proxy_pass http://192.168.1.7;
}
1) router fwd :80 to 192.168.1.x (main)
2) 192.168.1.x/ is running local things
3) 192.168.1.x/metern/ Is running meterN on 192.168.1.7 machine.

So, from the outside, http://yourdyndns/metern/ will appear as one server.

vellastefan
Posts: 4
Joined: Mon Feb 27, 2017 8:33 pm

Re: Network ports

Post by vellastefan » Sun Mar 19, 2017 10:42 am

jeanmarc,

thanks for your guide lines. appreciate.
one other question, is this solar123 only compatible with ABB inverters?

thanks

jeanmarc
Posts: 1408
Joined: Thu Aug 29, 2013 7:16 am

Re: Network ports

Post by jeanmarc » Sun Mar 19, 2017 11:57 am

It's 123Solar and it's compatible with inverters that are able to return values. :geek:

vellastefan
Posts: 4
Joined: Mon Feb 27, 2017 8:33 pm

Re: Network ports

Post by vellastefan » Sun Mar 19, 2017 1:41 pm

Is there a lost somewere pls?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest