Running process on a remote browser


 
Thread Tools Search this Thread
Special Forums IP Networking Running process on a remote browser
# 1  
Old 02-14-2015
Running process on a remote browser

Hello,

I work on remote machine using the ssh protocol.

I try to test a tool which is a process running on the port 5000.

Code:
tcp        0      0 0.0.0.0:5000            0.0.0.0:*               LISTEN      4386/python

Tu visualise this process, i have to launch on http://0.0.0.0:5000/ on the browser.
My question: how can i access to the remote browser or how can link it with my local browser ?

Thanks a lot for help.
Best Regards.
# 2  
Old 02-17-2015
There really isn't a concept such a remote browser. If you are in a browser you are local (unless you are launch a browser from a machine and shoot the display to a different machine like in X windows). So, if you do http://127.0.0.1:5000 you are connecting to the local machine and hopefully whatever is listening on port 5000. Presumably this dameon understands http. In this case your browser process is on the same machine as the process listening on port 5000. You could also substitute 127.0.0.1 for the ip address of the interface. Let's say you are on a machine with IP address 9.9.124.3, then http://9.9.124.3:5000 is similar with http://127.0.0.1 (slight difference in that you are going through a different inteface, loopback versus whatever interface is on
9.9.124.3. Suppose the server is on 9.9.124.133 (different than the address of the machine where you are running your browser.
http://9.9.124.133:5000 means that you are connecting to a remote server. I think you are missing the basic concept here.
This User Gave Thanks to blackrageous For This Post:
# 3  
Old 02-17-2015
Yiou can tunnel the local browser to the remote host, too, usung ssh.
This User Gave Thanks to DGPickett For This Post:
# 4  
Old 02-18-2015
I stand corrected. Didn't think about tunneling.
This User Gave Thanks to blackrageous For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Command to get exact tomcat process I am running ignoring other java process

Team, I have multiple batchjobs running in VM, if I do ps -ef |grep java or tomcat I am getting multiple process list. How do I get my exact tomcat process running and that is unique? via shell script? (4 Replies)
Discussion started by: Ghanshyam Ratho
4 Replies

2. UNIX for Advanced & Expert Users

Process remians in Running state causing other similar process to sleep and results to system hang

Hi Experts, I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state. On doing cat /proc/<pid>wchan showing the "__init_begin" in the output. Can you please help me here... (6 Replies)
Discussion started by: naveeng
6 Replies

3. UNIX for Advanced & Expert Users

Process remians in Running state causing other similar process to sleep and results to system hang

Hi Experts, I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state. On doing cat /proc/<pid>wchan showing the "__init_begin" in the output. Can you please help me here... (1 Reply)
Discussion started by: naveeng
1 Replies

4. UNIX for Dummies Questions & Answers

Running Putty from Browser

Hey All, My first posting around here, So please be patient with me. I dont have any rights on a computer that Im using right now & I was wondering if I can run putty session from the browser itself without downloading it. I looked up all over the web & I couldnt really see a place... (1 Reply)
Discussion started by: Fanxinu
1 Replies

5. Shell Programming and Scripting

script to monitor process running on server and posting a mail if any process is dead

Hello all, I would be happy if any one could help me with a shell script that would determine all the processes running on a Unix server and post a mail if any of the process is not running or aborted. Thanks in advance Regards, pradeep kulkarni. :mad: (13 Replies)
Discussion started by: pradeepmacha
13 Replies

6. Linux

Configure apache to run with perl ... while running from browser it asks to save .pl

I have installed fedora 9 and trying to run .pl (perl files) from browser. I have below RPM installed: ---------------------------------- httpd-2.2.8-3.i386 mod_perl-2.0.3-21.i386 $cat /etc/httpd/conf.d/perl.conf LoadModule perl_module modules/mod_perl.so Alias /perl /var/www/perl... (4 Replies)
Discussion started by: sriram003
4 Replies

7. Shell Programming and Scripting

running a cgi script even when browser is closed

hii, i have a cgi script file which may take some hours to complete. The script logs the output and mails the user. so the browser need not be open for the output. But currently the script dies off the instant the browser is closed or other pages are viewed. Is there a way out .. ? i have... (0 Replies)
Discussion started by: damn_bkb
0 Replies

8. Shell Programming and Scripting

Running shell scripts from web browser

I am in need of a mechanism to run shell scripts from web browser. Could any one of you guide me as to which technology to choose? I have some scripts which take some arguments. Appreciate you response. (7 Replies)
Discussion started by: corleone
7 Replies

9. UNIX for Dummies Questions & Answers

leave a process running in a remote machine

Hi, I would like to run a process in my gentoo machine from a consolte (putty) in Windows and would like that this process keep on going when I close the console in Windows (i.e closing this session). The process should take a long time and I do not want to leave the Windows machine running... (3 Replies)
Discussion started by: pbasil
3 Replies

10. UNIX for Dummies Questions & Answers

connect to a remote account using a text browser.....

is it possible to coonect to a remote account using a text browser without the use of ftp... but using the httpd address. to be more precise is there any way to directly connect throught ssh in the text browser itself.. (using a lynx elinks browser). moxxx68 (2 Replies)
Discussion started by: moxxx68
2 Replies
Login or Register to Ask a Question