moetsi / Sensor-Stream-Pipe

Open Source Sensor Stream Server and Client for Digitizing Reality
MIT License
70 stars 11 forks source link

how to set host name for client #12

Closed alitokur closed 2 years ago

alitokur commented 2 years ago

I could change the hostname inside the /configs/*yaml filesbut how can I configure the client for the new hostname?

adammpolak commented 2 years ago

@alitokur

I would change the host name to the IP address that the client will be connecting

The client only needs to expose what port it will be open on.

Let me know if that clears things up!

alitokur commented 2 years ago

@adammpolak i'll test it today, then I can update the issue.

alitokur commented 2 years ago

@adammpolak let me update this issue.

I have two computers (ubuntu 20.04) and they are connected to the same network. I can send ping A to B and B to A there is no problem and also I tested with Netcat is also working.

Now I start a stream on A (192.168.0.100) and start a client on B(192.168.0.102) but I cannot see any frame on B.

I have edited config files. I mean just changed hostname: 192.168.0.100, but as I said I can't see anything.

adammpolak commented 2 years ago

@alitokur what port are you opening your client on?

Also if you are streaming TO B, you should update the config file to actually read: 192.168.0.102

That will fix your problem!

adammpolak commented 2 years ago

I am guessing we are all good!