Problem in accessing service on VNC
Hello all,
I just setup a Java development environment on my CentOS machine. I created a VNC account and am able to connect to it from a client. The thing is I developed a sample application in my VNC account and am accessing it in firefox on VNC like Code:
http://localhost:9998/projects/sample.jsp Code:
http://192.158.1.12:9998/projects/sample.jsp Can somebody help me out? |
What's that got to do with the VNC in the title?
I would imagine that port 9998 is closed by the CentOS firewall. Try opening that first. |
Hye billy,
Yes it does seem confusing. Let me shed some light on the reason I did so... Scenario ------------------------------ I have two VNC accounts A(192.158.12:1) and B(192.158.1.12:2). Now I am using the same link on both accounts to run the application. Till here its fine. Question ------------------------------ How does the Windows figure out, which application to open? A or B? port :1 or :2? That is why I got confused. Oh and that worked like a jolly. Thanks. Will surely check this setting before posting from now on. Quote:
|
What's a VNC account, and what does the notation 195.158.1.12:1 mean?
|
VNC account means i created a VNC server on my Linux machine. Then, I created 2 user accounts, and did the setting in vncserver service so that they can be accessed using a VNC client. On the VNC client, I type this hostname to connect remotely to my Linux user account. :1 means that it will use port no. 5901 by default on the Linux machine.
Code:
192.158.1.12:1 Quote:
|
That's what I'd assumed initially, but if you are connecting to the web server through http, I couln't work out where it fitted (and still can't).
if you are actually using VNC from windows, you tell the client which distplat (1 or 2) to use, but again, I don't see how this ties in with firefox (from Windows) |
All times are GMT -5. The time now is 02:56 PM. |