I can not view my ionic phaser app on glitch on specific port 4200

Hi every one,

I need to run my app . i use ionic with phaser js, view page is empy and display : “invalid hot header”.

url : https://glitch.com/~jyjeanne-openfarm-ionic-angular-phaser-example

The message in log is :

** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **

1:10 PM

: Compiled successfully.

1:10 PM

1:11 PM

Date: 2020-09-28T11:11:02.392Z - Hash: 1b4e4c630d9181cc4fe2

1:11 PM

61 unchanged chunks

1:11 PM

1:11 PM

Time: 7660ms

1:11 PM

: Compiled successfully.

Can you help me please ?

best regards

@jyjeanne, Glitch exposes only port 3000, other ports will not work.

3 Likes

ok i will try tochange my port in the setup . How can i acces the port 3000 , i need to add it in the URL ?

If you have any code that points to a port other than 3000, something like “listen(4200)”, then change that to 3000.

2 Likes

Doesn’t Glitch show other ports?

No, it doesn’t. Only port 3000 is exposed.

1 Like