0

I have a program in node.js. I ran the code using "node main.js". It starts listening. When I try to open the link, "https://localhost:8080" it displays, "It works !

If you're seeing this page via a web browser," which is usually popped up after tomcat installation. how can i fix it and run my code?

2
  • 4
    Show your main.js. Commented Jul 11, 2017 at 9:35
  • Hey Madhu, can you show the code of your main.js? Would be better to understand what is your problem. Commented Jul 11, 2017 at 9:44

1 Answer 1

4

You probably have a tomcat server running on the same port. Shut it down and run the node.js server only

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.