Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this still work? #6

Closed
Rhynorater opened this issue Dec 6, 2022 · 6 comments
Closed

Does this still work? #6

Rhynorater opened this issue Dec 6, 2022 · 6 comments

Comments

@Rhynorater
Copy link

I recently set up the code and ran a sample of this and it seems to not be working on Windows 11/ Chrome 107.0.5304.123. Can anyone else confirm?

@avilum
Copy link
Owner

avilum commented Dec 10, 2022

Hey, currently it supports Linux out of the box, but can easily run on Windows as well.

The build.sh does a very simple thing in order for your environment to work on Linux.
You should simply copy the wasm files from your go root, to the repository's root.
Then everything should work.
If you want to help running this repo on windows, you can add a build.cmd file that does exactly the same and I'll add it to the repo.

@avilum avilum closed this as completed Dec 10, 2022
@avilum
Copy link
Owner

avilum commented Dec 10, 2022

Hey, currently it supports Linux out of the box, but can easily run on Windows as well.

The build.sh does a very simple thing in order for your environment to work on Linux.
You should simply copy the wasm files from your go root, to the repository's root.
Then everything should work.
If you want to help running this repo on windows, you can add a build.cmd file that does exactly the same and I'll add it to the repo.

@Rhynorater
Copy link
Author

So, just to be clear, I was running the server in WSL but attacker a Windows Chrome instance. It did not seem to work as no ports were discovered. Can you confirm that this does in-fact still detect open ports on localhost for you?

@avilum
Copy link
Owner

avilum commented Dec 11, 2022

Can you try 0.0.0.0 instead of localhost or 127.0.0.1?
See https://learn.microsoft.com/en-us/windows/wsl/networking#accessing-linux-networking-apps-from-windows-localhost

@avilum
Copy link
Owner

avilum commented Dec 11, 2022

I don't use Windows myself but it works on Linux and Mac. WSL behaves differently I guess, and it makes sense, but 0.0.0.0 should do the job.

@Rhynorater
Copy link
Author

Yeah, I went ahead and tried that and it didn't work. Quite odd. I'll see if I can troubleshoot it more later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants