Open adraffy opened 4 days ago
1.1.12
Darwin 23.1.0 x86_64 i386
import {createServer} from 'http'; let h = createServer(() => {}); h.listen(undefined, () => { console.log(h.address()); });
random open port
port 3000
No response
location of bug: src/js/node/http.ts line 529. node:http uses bun.serve and it defaults to port 3000 instead of random.
src/js/node/http.ts
What version of Bun is running?
1.1.12
What platform is your computer?
Darwin 23.1.0 x86_64 i386
What steps can reproduce the bug?
What is the expected behavior?
random open port
What do you see instead?
port 3000
Additional information
No response