?
Solved

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

Posted on 2015-01-22
4
Medium Priority
?
139 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 2000 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

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

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

Welcome back to our beginners guide of the popular Unix tool, cron. If you missed part one where we introduced this tool, the link is below. We left off learning how to build a simple script to schedule automatic back ups. Now, we’ll learn how to se…
This article explains how to use the rsync command to create backups and sync data across hosts. Rsync is a very useful command that is often used to copy data, make backups, migrate hosts, and bridge the gap between site staging and production envi…
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.
Suggested Courses
Course of the Month9 days, 5 hours left to enroll

621 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