Topic: Contact form connection refused when trying to submit
ANDREA CAROLINA CAMACHO JULIO asked 3 years ago
Hi, I am trying to follow this guide https://mdbootstrap.com/docs/angular/forms/contact/ for a contact form in my angular application. However, when I press the SEND button, I get this error message in Chrome: OPTIONS http://localhost:3000/send net::ERR_CONNECTION_REFUSED I'm not posting any code snippets because it's pretty much exactly like in the guide. In the server.js I start up the express server on port 3000 and when i am trying to start the server in terminal with "node server.js" i receive this error "GET http://localhost:4200/sockjs-node/info?t=1628271648973 net::ERR_CONNECTION_REFUSED" so both commands give me the same error. how can i solve this?
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: MDB4 11.1.0
- Device: PC
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: Yes
Arkadiusz Idzikowski staff commented 3 years ago
@ANDREA CAROLINA CAMACHO JULIO It looks like the backend server is not running. Did you start the Nodejs application as mentioned in the tutorial?