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

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -