http-party / http-server

a simple zero-configuration command-line http server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Link not opening in Browser

adarsh-pp opened this issue · comments

Hi,

I have recently reinstalled RedHat OS 7.9 in our local server and started running the tool again (It was already working previously). I have reinstalled the conda environment which contains the nodejs. Then followed instructions from website to install the tool using npm. After installation I ran the command:
http-server <path> -p <port> --username <name> --password <password>
This gave me the following output:

Starting up http-server, serving /mnt/ngs/GATK4_GRCH38_Processing/http_server_files/

http-server version: 14.1.1

http-server settings:
CORS: disabled
Cache: 3600 seconds
Connection Timeout: 120 seconds
Directory Listings: visible
AutoIndex: visible
Serve GZIP Files: false
Serve Brotli Files: false
Default File Extension: none

Available on:
http://127.0.0.1:8080
http://serverhost:8080
Hit CTRL-C to stop the server

However, I am unable to get the output using the link from browser.
What could be the possible reason?