Skip to content

Solved a wsgi_server issue #687

@ashumeow

Description

@ashumeow

I solved a bug issue for Google Cloud in Python by editing in wsgi_server.py --- Do you know where can i send the patch? I've never sent a patch to Google before.
Anyways, Here it goes...
I was unable to bind to localhost:8000. The online answers never helped me.
Then, i entered into this path:-
C:\Program Files\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\devappserver2
Then, i edited wsgi_server.py
There was error in lines 314 and 336
I changed it to:-
line 314:- if port != 8000:
line 336:-assert port != 8000
After changing it... i did a run on one demo file to check it --- dev_appserver.py guestbook
It worked. (^_^)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions