hi!

So far I've been testing the fxos-web-server[1] running on a phone, so I know the IP address of the device and know how to access it from other devices.

fxos-web-server uses mozTCPSocket to well, be an HTTP server. So it opens a socket and listens for connections to that port. When I want to test it I go to http://phone.ip/ from any other device.

But connecting a phone to my laptop is not really practical sometime, so I'd like to develop code using the simulator. However, I do not know how to access the simulator. It doesn't have an IP address, and `lsof -i -n -P -sTCP:LISTEN` doesn't show any port 80 accepting incoming connections. I also tried accessing the server from the Browser app in the simulator but it doesn't work either.

Help? :-)

[1] https://github.com/justindarc/fxos-web-server

--
http://soledadpenades.com

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to