Skip to content

Unable to launch project in chrome which created using angular-cli #6452

Closed

Description

@sitaram676

Bug Report or Feature Request (mark with an x)

Bug Report: Issue is only in Chrome

Versions.

@angular/cli: 1.0.5
node: 6.9.1
os: win32 x64
@angular/common: 4.1.3
@angular/compiler: 4.1.3
@angular/core: 4.1.3
@angular/forms: 4.1.3
@angular/http: 4.1.3
@angular/platform-browser: 4.1.
@angular/platform-browser-dynam
@angular/router: 4.1.3
@angular/cli: 1.0.5
@angular/compiler-cli: 4.1.3

Repro steps.

create an angular project using angular-CLI as mentioned in https://angular.io/docs/ts/latest/cli-quickstart.html
Run ng serve
access application using http://localhost:4200/

The log given by the failure.

This site can’t be reached
localhost refused to connect.

Mention any other details that might be useful.

Able to access in Firefox without issues
In IE after uncommenting the below lines in polyfills worked fine
/** IE9, IE10 and IE11 requires all of the following polyfills. **/
import 'core-js/es6/symbol';
import 'core-js/es6/object';
import 'core-js/es6/function';
import 'core-js/es6/parse-int';
import 'core-js/es6/parse-float';
import 'core-js/es6/number';
import 'core-js/es6/math';
import 'core-js/es6/string';
import 'core-js/es6/date';
import 'core-js/es6/array';
import 'core-js/es6/regexp';
import 'core-js/es6/map';
import 'core-js/es6/set';

Activity

  1. sumitarora commented on May 30, 2017

    @sumitarora
    Contributor

    @sitaram676 Is there any error you are getting? Try closing and reopening the chrome or incognito mode and see if it works.

  2. self-assigned this
    on May 30, 2017
  3. kirillshilin commented on Sep 7, 2018

    @kirillshilin

    I have the same issue. It works in chrome incognito, but not in regular chrome

  4. ShivaniKshatriya commented on Nov 28, 2018

    @ShivaniKshatriya

    I am facing same issue. I have even enabled localhost on my windows machine. 127.0.0.1 port is working. but localhost:4200 is still not working (not even in incognito mode).

  5. briznad commented on Jan 21, 2019

    @briznad

    I'm also experiencing this. Both Firefox & Chrome Incognito mode work fine, but non-incognito Chrome immediately forwards http://localhost:8100/ to secure https://localhost:8100/, and shows the following error:

    This site can’t be reached
    localhost unexpectedly closed the connection.
    
  6. angular-automatic-lock-bot commented on Sep 9, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  7. locked and limited conversation to collaborators on Sep 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions