New issue
Advanced search Search tips

Issue 850535 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 849134
Owner: ----
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Running local server (say polymer serve or python -m SimpleHTTPServer) in container is not exposed in Chrome

Reported by kenneth....@gmail.com, Jun 7 2018

Issue description

UserAgent: Mozilla/5.0 (X11; CrOS x86_64 10718.13.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.15 Safari/537.36

Steps to reproduce the problem:
run python -m SimpleHTTPServer 8080
open 0.0.0.0:8080 in browser

What is the expected behavior?
Accessing the server

What went wrong?
Not able to access server

Did this work before? N/A 

Chrome version: 68.0.3440.15  Channel: dev
OS Version: 10718.13.0
Flash Version: 

A work around is running /sbin/ifconfig and getting the actual IP, then do something like https://stackoverflow.com/questions/12268835/is-it-possible-to-run-python-simplehttpserver-on-localhost-only so actually use the ip.

This works, but as it is not localhost from Chrome points of view, the HTTPS requirement for multiple web platform APIs is enforced which is usually not on localhost - thus easing development
 
Cc: tbuck...@chromium.org
Components: OS>Systems>Containers
Mergedinto: 849134
Status: Duplicate (was: Unconfirmed)
> Not able to access server
Tracking in Issue 848063

> This works, but as it is not localhost from Chrome points of view, the HTTPS requirement for multiple web platform APIs is enforced which is usually not on localhost - thus easing development
Tracking in  Issue 849134 

Sign in to add a comment