18.01.2020 Views

Working with Linux

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

non-standard. To actually connect to a given port, we will be using telnet, which comes preinstalled

on Ubuntu desktop. To see if a particular port accepts connections, just type the hostname, followed

by the port:

telnet 192.168.0.1 80

If the port is listening and accepts connections, telnet will output a message like this:

Trying 192.168.0.1...

Connected to 192.168.0.1

Escape character is ^]

This means that you can also connect from your application. So if you are having difficulties

connecting, it's usually a client problem; the server is working fine.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!