Solved

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

Posted on 2015-01-22
4
124 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

786 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