to open simple html file in browser

Posted on 2000-04-12
Medium Priority
Last Modified: 2013-12-06
I try to open html file in Netscape 4 on cdrom
In netscape
open page
choose file
made selection in file browser
  ok select in open in navigator
 .... and got error
Cannot locate server , server has no dns entry
Of course it is not a server
How to put netscape to understand this is local file under Un ix
on windows this is not a problem
Question by:mativare
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
LVL 40

Expert Comment

ID: 2710475
I do this all the time in Netscape on Linux FreeBSD & Solaris for ordinary html files. Could it be that the html file you tried to open refers to some image or other ref that is a network link? When it fails, exactly what's shown in the "Location:" line of your browser?

Expert Comment

ID: 2713677
What OS are you running. There were some bizarre bugs in older versions of HP-UX relating to depths of nested directories that it can read on Rockwell format CD's. It gave some sort of funny server erro, but It was so long ago that I had to deal with it, I don't remember exactly what it was.

What I do remember though, was that HP produced a patch to fix it.

Author Comment

ID: 2716322
I am Using Solaris 2.6
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.


Accepted Solution

Astroman earned 150 total points
ID: 2716448
as an experiment, try going to the directory, e.g.

# cd /cdrom/dir

and invoking netscape with the file as a cmd line argument:

# netscape file.html

Does this work?

is there any thing strange in ths source for the HTML (i.e a META tag trying to redirect you omewhere)?

Is this machine connected to the web?
LVL 40

Expert Comment

ID: 2718257
That definitely works on Solaris 2.6 and later. Have you lookt at the html file to see if it references images or other things by a hostname/path? Also exactly which Netscape 4 (4.02, 4.61, etc)?

Expert Comment

ID: 2727302
uh, I guess "netscape file.html" worked then?

Did you get it to work with the file dialog? That is a strange problem, and I'm curios!

Author Comment

ID: 2732268
Thanks for the try
It didnot work
But I need to finish this guestion somehow
Therfore I gave you the points as "best try"
When I moved to cdrom I was enable even to launch
the only place from where I was able to launch it was /
error message was xlib connection to 0 0 refused by server
cannot open display
(was connected via monitor of course and x windows launched)
I was simply theoreticly interested can we do it therefore I
posted a guestion
Workoround was mechanikal:
Step 1:take out cdrom from unix box
Step2: put it into PC
Step3: enjoy

Expert Comment

ID: 2732409
> error message was xlib connection to 0 0 refused by server

This would imply that you were trying to run netscape from a window that is in a different login session to the X server. Was it a remote window, or was the xterm you started netscape in logged in as a different user?

In an xterm in the same session (same user, same machine) as the X Server, type "xhost +" to allow other sessions to display onyour X Server then try typing:

setenv DISPLAY localhost:0

(if you are using csh)

and then invoking netscape. You may find it works now.

Author Comment

ID: 2736570
Simply interesting
I set in .cshrc
setenv DISPLAY localhost:0
now even root(logged on as root) cannot launch NETSAPE
error is cannot open display localhost:0
Any ideas

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
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.
Suggested Courses
Course of the Month13 days, 15 hours left to enroll

800 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