Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot open localhost:9000 #33

Closed
chabashilah opened this issue Aug 4, 2018 · 4 comments
Closed

Cannot open localhost:9000 #33

chabashilah opened this issue Aug 4, 2018 · 4 comments

Comments

@chabashilah
Copy link

chabashilah commented Aug 4, 2018

Hi, I am using ArchLinux(4.17.11-arch1) and emacs 26.1.
When I open markdown-preview-mode, it automatically opens browser but it just says "This site cannot be reached".

Am I missing something to configure?
I confirmed 9000 port is not opened with lsof command.

@phipsgabler
Copy link

phipsgabler commented Aug 31, 2018

I'm experiencing the same thing in Ubuntu 18.04, Emacs 27.0.50. The buffer *markdown-output* contains (only)

zsh:1: command not found: pandoc

although pandoc is there through conda:

╰❯ which pandoc
~/anaconda3/bin/pandoc

Can I provide any other information to help debug it?

@seagle0128
Copy link

seagle0128 commented Sep 19, 2018

Same issue here, on Linux Mint 19 with Emacs 26.1. I confirmed the firewall has been closed.

Error messages:

Debugger entered--Lisp error: (file-error "make server process failed" "Success" :name "ws-server" :service 9000 :filter ws-filter :server t :nowait t :family ipv4 :coding no-conversion :plist (:server #<ws-server ws-server>) :log nil :host "localhost")
  make-network-process(:name "ws-server" :service 9000 :filter ws-filter :server t :nowait t :family ipv4 :coding no-conversion :plist (:server #<ws-server ws-server>) :log nil :host "localhost")
  apply(make-network-process :name "ws-server" :service 9000 :filter ws-filter :server t :nowait t :family ipv4 :coding no-conversion :plist (:server #<ws-server ws-server>) :log nil (:host "localhost"))
  ws-start((lambda (&rest --cl-rest--) (apply (function #f(compiled-function (G61 request) #<bytecode 0x11c3afd>)) '--docroot-- --cl-rest--)) 9000 nil :host "localhost")
  markdown-preview--start-http-server(9000)
  markdown-preview--start()
  markdown-preview-mode(toggle)
  funcall-interactively(markdown-preview-mode toggle)
  call-interactively(markdown-preview-mode nil nil)
  command-execute(markdown-preview-mode)

@juergenhoetzel
Copy link
Contributor

Same issue here, on Linux Mint 19 with Emacs 26.1. I confirmed the firewall has been closed.

Error messages:

Debugger entered--Lisp error: (file-error "make server process failed" "Success" :name "ws-server" :service 9000 :filter ws-filter :server t :nowait t :family ipv4 :coding no-conversion :plist (:server #<ws-server ws-server>) :log nil :host "localhost")
  make-network-process(:name "ws-server" :service 9000 :filter ws-filter :server t :nowait t :family ipv4 :coding no-conversion :plist (:server #<ws-server ws-server>) :log nil :host "localhost")
  apply(make-network-process :name "ws-server" :service 9000 :filter ws-filter :server t :nowait t :family ipv4 :coding no-conversion :plist (:server #<ws-server ws-server>) :log nil (:host "localhost"))
  ws-start((lambda (&rest --cl-rest--) (apply (function #f(compiled-function (G61 request) #<bytecode 0x11c3afd>)) '--docroot-- --cl-rest--)) 9000 nil :host "localhost")
  markdown-preview--start-http-server(9000)
  markdown-preview--start()
  markdown-preview-mode(toggle)
  funcall-interactively(markdown-preview-mode toggle)
  call-interactively(markdown-preview-mode nil nil)
  command-execute(markdown-preview-mode)

Upstream Bug: eschulte/emacs-web-server#10

@juergenhoetzel
Copy link
Contributor

Added workaround for Emacs 26.1 async issues: #35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants