Solved

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

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

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 61

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now