I was just trying out displacy and this was my code
from spacy import displacy
nlp = en_core_web_md.load()
doc = nlp('I have a ginger cat.')
displacy.serve(doc, style='dep', port=8654)
HOWEVER when it gives the result : Using the 'dep' visualizer
Serving on http://0.0.0.0:8654 ...
.... I OPEN this, and the chrome page displays :
"This site can't be reached
The webpage at ** The webpage at http://0.0.0.0:8654/ might be temporarily down or it may have moved permanently to a new web address.
BUT THEN I MANUALLY OPEN localhost:8654 and it works. Why can't I get results with http://0.0.0.0:8654/