Communication between server running on remote host and client on ubuntu -


i have imported remote host in ubuntu ssh command. running server.c code on remote host , want run client.c code on ubuntu terminal. client code runs following lines of code:

./client host_name 2222 

but both of programs running on respective local hosts, following command

./client localhost 2222 

will try communicate localhost of ubuntu machine because want communicate local host?

i solved problem turning off firewall blocking communication on network.


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

Ansible warning on jinja2 braces on when -