Solved

Confirmation if the process is running or not and finding the port of a process

Posted on 2015-01-22
4
128 Views
Last Modified: 2015-06-23
Hi,

I am trying to install R studio and based on the instructions I see the following , see

r-studio
but when I try to access the server using

http://<server-ip>:8787

It's timing out. The firewall is certainly open from the client to this server

Has the process really started ? How can I know on what port this process is running

thanks
-anshu
0
Comment
Question by:anshuma
  • 2
4 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 40564888
Which linux sire? Fedora or centos?
uname -r
cat /etc/*release
0
 

Author Comment

by:anshuma
ID: 40565155
2.6.32-504.1.3.el6.x86_64


Red Hat Enterprise Linux Server release 6.6 (Santiago)

thanks
-anshu
0
 
LVL 62

Expert Comment

by:gheist
ID: 40565178
Are you sure firewall is off? Default is on and SSH alone.
iptables-save ?
How it compares to #  netstat -ap | grep rserver
0
 
LVL 2

Accepted Solution

by:
CSIA AN earned 500 total points
ID: 40572813
netstat -tulpn will show LISTEN ports and which PID is running on it.

can you try; nc -z localhost 8787

For example:

[root@serv~]# nc -z localhost 514
Connection to localhost 514 port [tcp/shell] succeeded!

Open in new window

0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question